In This Article

Office2003DockRenderer Class

Provides a renderer for dock controls that have a Office 2003 appearance.

public class Office2003DockRenderer : VisualStudio2005DockRenderer, IDisposable, IDockRenderer, IUIRenderer
Inheritance:
Object MarshalByRefObject DisposableObject UIRenderer DockRenderer VisualStudio2002DockRenderer VisualStudio2005DockRenderer Object
Implements:
System.IDisposable IDockRenderer IUIRenderer

Constructors

Office2003DockRenderer()

Initializes a new instance of the Office2003DockRenderer class.

public Office2003DockRenderer()

Remarks

The default constructor initializes all fields to their default values.

Office2003DockRenderer(IWindowsColorScheme)

Initializes a new instance of the Office2003DockRenderer class.

public Office2003DockRenderer(IWindowsColorScheme colorScheme)
Parameter Type Description
colorScheme IWindowsColorScheme

The IWindowsColorScheme to use as a base for the colors.

Office2003DockRenderer(WindowsColorSchemeType)

Initializes a new instance of the Office2003DockRenderer class.

public Office2003DockRenderer(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.

DockContainerTitleBarDecorationBackBackgroundFill

Gets or sets the BackgroundFill for a background DockContainer title bar decoration.

public BackgroundFill DockContainerTitleBarDecorationBackBackgroundFill { get; set; }

Property Value

BackgroundFill:

The BackgroundFill for a background DockContainer title bar decoration.

DockContainerTitleBarDecorationForeBackgroundFill

Gets or sets the BackgroundFill for a foreground DockContainer title bar decoration.

public BackgroundFill DockContainerTitleBarDecorationForeBackgroundFill { get; set; }

Property Value

BackgroundFill:

The BackgroundFill for a foreground DockContainer title bar decoration.

Methods

Dispose(Boolean)

Disposes any resources used by the object.

protected override void Dispose(bool disposing)
Parameter Type Description
disposing Boolean

Whether the object is being disposed.

DrawDockContainerTitleBarForeground(PaintEventArgs, Rectangle, DockContainer)

Draws the foreground of a DockContainer title bar.

public override void DrawDockContainerTitleBarForeground(PaintEventArgs e, Rectangle bounds, DockContainer dockContainer)
Parameter Type Description
e PaintEventArgs

A PaintEventArgs that contains the event data.

bounds Rectangle

The bounds in which to draw.

dockContainer DockContainer

The DockContainer whose title bar is being painted.

ResetAll(Boolean)

Resets all property values to their defaults.

protected override void ResetAll(bool force)
Parameter Type Description
force Boolean

Whether to force resetting.

ResetDockContainerTitleBarDecorationBackBackgroundFill()

Resets the DockContainerTitleBarDecorationBackBackgroundFill property to its default value.

public virtual void ResetDockContainerTitleBarDecorationBackBackgroundFill()

ResetDockContainerTitleBarDecorationForeBackgroundFill()

Resets the DockContainerTitleBarDecorationForeBackgroundFill property to its default value.

public virtual void ResetDockContainerTitleBarDecorationForeBackgroundFill()

ShouldSerializeDockContainerTitleBarDecorationBackBackgroundFill()

Indicates whether the DockContainerTitleBarDecorationBackBackgroundFill property should be persisted.

public virtual bool ShouldSerializeDockContainerTitleBarDecorationBackBackgroundFill()

Returns

Boolean:

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

ShouldSerializeDockContainerTitleBarDecorationForeBackgroundFill()

Indicates whether the DockContainerTitleBarDecorationForeBackgroundFill property should be persisted.

public virtual bool ShouldSerializeDockContainerTitleBarDecorationForeBackgroundFill()

Returns

Boolean:

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

Inherited Members

Extension Methods