In This Article

VisualStudioClassicDockRenderer Class

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

public class VisualStudioClassicDockRenderer : WindowsClassicDockRenderer, IDisposable, IDockRenderer, IUIRenderer
Inheritance:
object MarshalByRefObject DisposableObject UIRenderer DockRenderer WindowsClassicDockRenderer object
Derived:
MetroDockRenderer OfficeClassicDockRenderer
Implements:
IDisposable IDockRenderer IUIRenderer

Constructors

VisualStudioClassicDockRenderer()

Initializes a new instance of the class.

public VisualStudioClassicDockRenderer()

Remarks

The default constructor initializes all fields to their default values.

VisualStudioClassicDockRenderer(IWindowsColorScheme)

Initializes a new instance of the class.

protected VisualStudioClassicDockRenderer(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