In This Article

VisualStudio2005DockRenderer Class

Provides a renderer for dock controls that have a Visual Studio 2005 appearance.

public class VisualStudio2005DockRenderer : VisualStudio2002DockRenderer, IDisposable, IDockRenderer, IUIRenderer
Inheritance:
Object MarshalByRefObject DisposableObject DockRenderer VisualStudio2002DockRenderer Object
Derived:
MetroLightDockRenderer Office2003DockRenderer VisualStudio2005Beta2DockRenderer
Implements:
IDisposable IDockRenderer IUIRenderer

Constructors

VisualStudio2005DockRenderer()

Initializes a new instance of the VisualStudio2005DockRenderer class.

public VisualStudio2005DockRenderer()

Remarks

The default constructor initializes all fields to their default values.

Methods

DrawAutoHideTab(PaintEventArgs, Rectangle, AutoHideTab)

Draws a AutoHideTab.

public override void DrawAutoHideTab(PaintEventArgs e, Rectangle bounds, AutoHideTab autoHideTab)
Parameter Type Description
e PaintEventArgs

A PaintEventArgs that contains the event data.

bounds Rectangle

The bounds in which to draw.

autoHideTab AutoHideTab

The AutoHideTab that is being painted.

DrawDockContainerBackground(PaintEventArgs, Rectangle, DockContainer)

Draws the background of a DockContainer.

public override void DrawDockContainerBackground(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 that is being painted.

DrawDockContainerTitleBarBackground(PaintEventArgs, Rectangle, DockContainer)

Draws the background of a DockContainer title bar.

public override void DrawDockContainerTitleBarBackground(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.

MeasureAutoHideTab(Graphics, AutoHideTab)

Measures the tab for the specified AutoHideTab.

public override Size MeasureAutoHideTab(Graphics g, AutoHideTab autoHideTab)
Parameter Type Description
g Graphics

The Graphics object used to measure.

autoHideTab AutoHideTab

The AutoHideTab whose tab is being measured.

Returns

Size:

The Size of the tab.

ResetAutoHideTabGroupMargin()

Resets the AutoHideTabGroupMargin property to its default value.

public override void ResetAutoHideTabGroupMargin()

ResetAutoHideTabOverlap()

Resets the AutoHideTabOverlap property to its default value.

public override void ResetAutoHideTabOverlap()

ResetAutoHideTabSelectedBackgroundFill()

Resets the AutoHideTabSelectedBackgroundFill property to its default value.

public override void ResetAutoHideTabSelectedBackgroundFill()

ResetAutoHideTabStripPanelBackgroundFill()

Resets the AutoHideTabStripPanelBackgroundFill property to its default value.

public override void ResetAutoHideTabStripPanelBackgroundFill()

ResetAutoHideTabUnselectedBackgroundFill()

Resets the AutoHideTabUnselectedBackgroundFill property to its default value.

public override void ResetAutoHideTabUnselectedBackgroundFill()

ResetDockContainerBackgroundFill()

Resets the DockContainerBackgroundFill property to its default value.

public override void ResetDockContainerBackgroundFill()

ResetDockContainerTitleBarActiveBackgroundFill()

Resets the DockContainerTitleBarActiveBackgroundFill property to its default value.

public override void ResetDockContainerTitleBarActiveBackgroundFill()

ResetDockContainerTitleBarActiveBorder()

Resets the DockContainerTitleBarActiveBorder property to its default value.

public override void ResetDockContainerTitleBarActiveBorder()

ResetDockContainerTitleBarActiveButtonHotGlyphColor()

Resets the DockContainerTitleBarActiveButtonHotGlyphColor property to its default value.

public override void ResetDockContainerTitleBarActiveButtonHotGlyphColor()

ResetDockContainerTitleBarActiveButtonHotPressedGlyphColor()

Resets the DockContainerTitleBarActiveButtonHotPressedGlyphColor property to its default value.

public override void ResetDockContainerTitleBarActiveButtonHotPressedGlyphColor()

ResetDockContainerTitleBarButtonHotBackgroundFill()

Resets the DockContainerTitleBarButtonHotBackgroundFill property to its default value.

public override void ResetDockContainerTitleBarButtonHotBackgroundFill()

ResetDockContainerTitleBarButtonHotBorder()

Resets the DockContainerTitleBarButtonHotBorder property to its default value.

public override void ResetDockContainerTitleBarButtonHotBorder()

ResetDockContainerTitleBarButtonHotPressedBackgroundFill()

Resets the DockContainerTitleBarButtonHotPressedBackgroundFill property to its default value.

public override void ResetDockContainerTitleBarButtonHotPressedBackgroundFill()

ResetDockContainerTitleBarButtonHotPressedBorder()

Resets the DockContainerTitleBarButtonHotPressedBorder property to its default value.

public override void ResetDockContainerTitleBarButtonHotPressedBorder()

ResetDockContainerTitleBarButtonHotPressedOffset()

Resets the DockContainerTitleBarButtonHotPressedOffset property to its default value.

public override void ResetDockContainerTitleBarButtonHotPressedOffset()

ResetDockContainerTitleBarInactiveBackgroundFill()

Resets the DockContainerTitleBarInactiveBackgroundFill property to its default value.

public override void ResetDockContainerTitleBarInactiveBackgroundFill()

ResetDockContainerTitleBarInactiveBorder()

Resets the DockContainerTitleBarInactiveBorder property to its default value.

public override void ResetDockContainerTitleBarInactiveBorder()

ResetDockContainerTitleBarInnerMargin()

Resets the DockContainerTitleBarInnerMargin property to its default value.

public override void ResetDockContainerTitleBarInnerMargin()

ResetDockContainerTitleBarOuterMargin()

Resets the DockContainerTitleBarOuterMargin property to its default value.

public override void ResetDockContainerTitleBarOuterMargin()

ResetDockObjectSplitterBackgroundFill()

Resets the DockObjectSplitterBackgroundFill property to its default value.

public override void ResetDockObjectSplitterBackgroundFill()

ShouldSerializeAutoHideTabGroupMargin()

Indicates whether the AutoHideTabGroupMargin property should be persisted.

public override bool ShouldSerializeAutoHideTabGroupMargin()

Returns

Boolean:

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

ShouldSerializeAutoHideTabOverlap()

Indicates whether the AutoHideTabOverlap property should be persisted.

public override bool ShouldSerializeAutoHideTabOverlap()

Returns

Boolean:

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

ShouldSerializeAutoHideTabSelectedBackgroundFill()

Indicates whether the AutoHideTabSelectedBackgroundFill property should be persisted.

public override bool ShouldSerializeAutoHideTabSelectedBackgroundFill()

Returns

Boolean:

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

ShouldSerializeAutoHideTabStripPanelBackgroundFill()

Indicates whether the AutoHideTabStripPanelBackgroundFill property should be persisted.

public override bool ShouldSerializeAutoHideTabStripPanelBackgroundFill()

Returns

Boolean:

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

ShouldSerializeAutoHideTabUnselectedBackgroundFill()

Indicates whether the AutoHideTabUnselectedBackgroundFill property should be persisted.

public override bool ShouldSerializeAutoHideTabUnselectedBackgroundFill()

Returns

Boolean:

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

ShouldSerializeDockContainerBackgroundFill()

Indicates whether the DockContainerBackgroundFill property should be persisted.

public override bool ShouldSerializeDockContainerBackgroundFill()

Returns

Boolean:

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

ShouldSerializeDockContainerTitleBarActiveBackgroundFill()

Indicates whether the DockContainerTitleBarActiveBackgroundFill property should be persisted.

public override bool ShouldSerializeDockContainerTitleBarActiveBackgroundFill()

Returns

Boolean:

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

ShouldSerializeDockContainerTitleBarActiveBorder()

Indicates whether the DockContainerTitleBarActiveBorder property should be persisted.

public override bool ShouldSerializeDockContainerTitleBarActiveBorder()

Returns

Boolean:

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

ShouldSerializeDockContainerTitleBarActiveButtonHotGlyphColor()

Indicates whether the DockContainerTitleBarActiveButtonHotGlyphColor property should be persisted.

public override bool ShouldSerializeDockContainerTitleBarActiveButtonHotGlyphColor()

Returns

Boolean:

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

ShouldSerializeDockContainerTitleBarActiveButtonHotPressedGlyphColor()

Indicates whether the DockContainerTitleBarActiveButtonHotPressedGlyphColor property should be persisted.

public override bool ShouldSerializeDockContainerTitleBarActiveButtonHotPressedGlyphColor()

Returns

Boolean:

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

ShouldSerializeDockContainerTitleBarButtonHotBackgroundFill()

Indicates whether the DockContainerTitleBarButtonHotBackgroundFill property should be persisted.

public override bool ShouldSerializeDockContainerTitleBarButtonHotBackgroundFill()

Returns

Boolean:

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

ShouldSerializeDockContainerTitleBarButtonHotBorder()

Indicates whether the DockContainerTitleBarButtonHotBorder property should be persisted.

public override bool ShouldSerializeDockContainerTitleBarButtonHotBorder()

Returns

Boolean:

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

ShouldSerializeDockContainerTitleBarButtonHotPressedBackgroundFill()

Indicates whether the DockContainerTitleBarButtonHotPressedBackgroundFill property should be persisted.

public override bool ShouldSerializeDockContainerTitleBarButtonHotPressedBackgroundFill()

Returns

Boolean:

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

ShouldSerializeDockContainerTitleBarButtonHotPressedBorder()

Indicates whether the DockContainerTitleBarButtonHotPressedBorder property should be persisted.

public override bool ShouldSerializeDockContainerTitleBarButtonHotPressedBorder()

Returns

Boolean:

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

ShouldSerializeDockContainerTitleBarButtonHotPressedOffset()

Indicates whether the DockContainerTitleBarButtonHotPressedOffset property should be persisted.

public override bool ShouldSerializeDockContainerTitleBarButtonHotPressedOffset()

Returns

Boolean:

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

ShouldSerializeDockContainerTitleBarInactiveBackgroundFill()

Indicates whether the DockContainerTitleBarInactiveBackgroundFill property should be persisted.

public override bool ShouldSerializeDockContainerTitleBarInactiveBackgroundFill()

Returns

Boolean:

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

ShouldSerializeDockContainerTitleBarInactiveBorder()

Indicates whether the DockContainerTitleBarInactiveBorder property should be persisted.

public override bool ShouldSerializeDockContainerTitleBarInactiveBorder()

Returns

Boolean:

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

ShouldSerializeDockContainerTitleBarInnerMargin()

Indicates whether the DockContainerTitleBarInnerMargin property should be persisted.

public override bool ShouldSerializeDockContainerTitleBarInnerMargin()

Returns

Boolean:

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

ShouldSerializeDockContainerTitleBarOuterMargin()

Indicates whether the DockContainerTitleBarOuterMargin property should be persisted.

public override bool ShouldSerializeDockContainerTitleBarOuterMargin()

Returns

Boolean:

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

ShouldSerializeDockObjectSplitterBackgroundFill()

Indicates whether the DockObjectSplitterBackgroundFill property should be persisted.

public override bool ShouldSerializeDockObjectSplitterBackgroundFill()

Returns

Boolean:

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

Inherited Members