In This Article

Office2003BarRenderer Class

Provides a renderer for bar controls that have an Office 2003 appearance.

public class Office2003BarRenderer : VisualStudio2002BarRenderer, IDisposable, IBarRenderer, IUIRenderer
Inheritance:
Object MarshalByRefObject DisposableObject UIRenderer BarRenderer VisualStudio2002BarRenderer Object
Implements:
System.IDisposable IBarRenderer IUIRenderer

Constructors

Office2003BarRenderer()

Initializes a new instance of the Office2003BarRenderer class.

public Office2003BarRenderer()

Remarks

The default constructor initializes all fields to their default values.

Office2003BarRenderer(IWindowsColorScheme)

Initializes a new instance of the Office2003BarRenderer class.

public Office2003BarRenderer(IWindowsColorScheme colorScheme)
Parameter Type Description
colorScheme IWindowsColorScheme

The IWindowsColorScheme to use as a base for the colors.

Office2003BarRenderer(WindowsColorSchemeType)

Initializes a new instance of the Office2003BarRenderer class.

public Office2003BarRenderer(WindowsColorSchemeType colorSchemeType)
Parameter Type Description
colorSchemeType WindowsColorSchemeType

The WindowsColorSchemeType to use as a base for the colors.

Properties

BaseColorSchemeType

Gets or sets the WindowsColorSchemeType to use as a base for the colors.

public WindowsColorSchemeType BaseColorSchemeType { get; set; }

Property Value

WindowsColorSchemeType:

The WindowsColorSchemeType to use as a base for the colors.

Methods

DrawDockableToolBarGripper(PaintEventArgs, Rectangle, DockableToolBar)

Draws a dockable toolbar gripper.

public override void DrawDockableToolBarGripper(PaintEventArgs e, Rectangle bounds, DockableToolBar toolBar)
Parameter Type Description
e PaintEventArgs

A PaintEventArgs that contains the event data.

bounds Rectangle

The bounds in which to draw.

toolBar DockableToolBar

The DockableToolBar being painted.

Draws a dockable toolbar options button.

public override void DrawDockableToolBarOptionsButton(PaintEventArgs e, Rectangle bounds, DockableToolBar toolBar, BarPopupButtonLink link)
Parameter Type Description
e PaintEventArgs

A PaintEventArgs that contains the event data.

bounds Rectangle

The bounds in which to draw.

toolBar DockableToolBar

The DockableToolBar containing the link being painted.

link BarPopupButtonLink

The BarPopupButtonLink being painted.

Inherited Members

Extension Methods