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 UIRenderer DockRenderer VisualStudio2002DockRenderer Object
Derived:
MetroDockRenderer Office2003DockRenderer VisualStudio2005Beta2DockRenderer
Implements:
System.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.

VisualStudio2005DockRenderer(IWindowsColorScheme)

Initializes a new instance of the VisualStudio2005DockRenderer class.

protected VisualStudio2005DockRenderer(IWindowsColorScheme colorScheme)
Parameter Type Description
colorScheme IWindowsColorScheme

The IWindowsColorScheme to use as a base for the colors.

Remarks

The default constructor initializes all fields to their default values.

Methods

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.

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.

Inherited Members

Extension Methods