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 BarRenderer VisualStudio2002BarRenderer Object
Implements:
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(WindowsColorScheme)

Initializes a new instance of the Office2003BarRenderer class.

public Office2003BarRenderer(WindowsColorScheme colorScheme)
Parameter Type Description
colorScheme WindowsColorScheme

The WindowsColorScheme 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.

ResetDockableToolBarOptionsButtonExtent()

Resets the DockableToolBarOptionsButtonExtent property to its default value.

public override void ResetDockableToolBarOptionsButtonExtent()

ResetDockAreaBackgroundFill()

Resets the DockAreaBackgroundFill property to its default value.

public override void ResetDockAreaBackgroundFill()

ResetMenuDefaultAddRemoveButtonsColumnBackgroundFill()

Resets the MenuDefaultAddRemoveButtonsColumnBackgroundFill property to its default value.

public override void ResetMenuDefaultAddRemoveButtonsColumnBackgroundFill()

ResetMenuDefaultImageColumnBackgroundFill()

Resets the MenuDefaultImageColumnBackgroundFill property to its default value.

public override void ResetMenuDefaultImageColumnBackgroundFill()

ResetToolBarDefaultBackgroundFill()

Resets the ToolBarDefaultBackgroundFill property to its default value.

public override void ResetToolBarDefaultBackgroundFill()

ResetToolBarDefaultCommandLinkSelectedBackgroundFill()

Resets the ToolBarDefaultCommandLinkSelectedBackgroundFill property to its default value.

public override void ResetToolBarDefaultCommandLinkSelectedBackgroundFill()

ResetToolBarDefaultFloatingForeColor()

Resets the ToolBarDefaultFloatingForeColor property to its default value.

public override void ResetToolBarDefaultFloatingForeColor()

ShouldSerializeDockableToolBarOptionsButtonExtent()

Indicates whether the DockableToolBarOptionsButtonExtent property should be persisted.

public override bool ShouldSerializeDockableToolBarOptionsButtonExtent()

Returns

Boolean:

true if the property value has changed from its default; otherwise, false.

ShouldSerializeDockAreaBackgroundFill()

Indicates whether the DockAreaBackgroundFill property should be persisted.

public override bool ShouldSerializeDockAreaBackgroundFill()

Returns

Boolean:

true if the property value has changed from its default; otherwise, false.

ShouldSerializeMenuDefaultAddRemoveButtonsColumnBackgroundFill()

Indicates whether the MenuDefaultAddRemoveButtonsColumnBackgroundFill property should be persisted.

public override bool ShouldSerializeMenuDefaultAddRemoveButtonsColumnBackgroundFill()

Returns

Boolean:

true if the property value has changed from its default; otherwise, false.

ShouldSerializeMenuDefaultImageColumnBackgroundFill()

Indicates whether the MenuDefaultImageColumnBackgroundFill property should be persisted.

public override bool ShouldSerializeMenuDefaultImageColumnBackgroundFill()

Returns

Boolean:

true if the property value has changed from its default; otherwise, false.

ShouldSerializeToolBarDefaultBackgroundFill()

Indicates whether the ToolBarDefaultBackgroundFill property should be persisted.

public override bool ShouldSerializeToolBarDefaultBackgroundFill()

Returns

Boolean:

true if the property value has changed from its default; otherwise, false.

ShouldSerializeToolBarDefaultCommandLinkSelectedBackgroundFill()

Indicates whether the ToolBarDefaultCommandLinkSelectedBackgroundFill property should be persisted.

public override bool ShouldSerializeToolBarDefaultCommandLinkSelectedBackgroundFill()

Returns

Boolean:

true if the property value has changed from its default; otherwise, false.

ShouldSerializeToolBarDefaultFloatingForeColor()

Indicates whether the ToolBarDefaultFloatingForeColor property should be persisted.

public override bool ShouldSerializeToolBarDefaultFloatingForeColor()

Returns

Boolean:

true if the property value has changed from its default; otherwise, false.

Inherited Members