In This Article

MetroLightBarRenderer Class

Provides a renderer for bar controls that have a Metro Light appearance.

public class MetroLightBarRenderer : VisualStudio2002BarRenderer, IDisposable, IBarRenderer, IUIRenderer
Inheritance:
Object MarshalByRefObject DisposableObject BarRenderer VisualStudio2002BarRenderer Object
Implements:
IDisposable IBarRenderer IUIRenderer

Constructors

MetroLightBarRenderer()

Initializes a new instance of the MetroLightBarRenderer class.

public MetroLightBarRenderer()

Remarks

The default constructor initializes all fields to their default values.

Methods

DrawDockableToolBarFloatingTitleBar(PaintEventArgs, Rectangle, DockableToolBar)

Draws a floating dockable toolbar title bar.

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

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.

ResetDockableToolBarGripperExtent()

Resets the DockableToolBarGripperExtent property to its default value.

public override void ResetDockableToolBarGripperExtent()

ResetToolBarDefaultBackgroundFill()

Resets the ToolBarDefaultBackgroundFill property to its default value.

public override void ResetToolBarDefaultBackgroundFill()

ResetToolBarDefaultFloatingTitleBarBackgroundFill()

Resets the ToolBarDefaultFloatingTitleBarBackgroundFill property to its default value.

public override void ResetToolBarDefaultFloatingTitleBarBackgroundFill()

ResetToolBarDefaultFloatingTitleBarFont()

Resets the ToolBarDefaultFloatingTitleBarFont property to its default value.

public override void ResetToolBarDefaultFloatingTitleBarFont()

ResetToolBarTextMarginVertical()

Resets the ToolBarTextMarginVertical property to its default value.

public override void ResetToolBarTextMarginVertical()

ShouldSerializeDockableToolBarGripperExtent()

Indicates whether the DockableToolBarGripperExtent property should be persisted.

public override bool ShouldSerializeDockableToolBarGripperExtent()

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.

ShouldSerializeToolBarDefaultFloatingTitleBarBackgroundFill()

Indicates whether the ToolBarDefaultFloatingTitleBarBackgroundFill property should be persisted.

public override bool ShouldSerializeToolBarDefaultFloatingTitleBarBackgroundFill()

Returns

Boolean:

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

ShouldSerializeToolBarDefaultFloatingTitleBarFont()

Indicates whether the ToolBarDefaultFloatingTitleBarFont property should be persisted.

public override bool ShouldSerializeToolBarDefaultFloatingTitleBarFont()

Returns

Boolean:

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

ShouldSerializeToolBarTextMarginVertical()

Indicates whether the ToolBarTextMarginVertical property should be persisted.

public override bool ShouldSerializeToolBarTextMarginVertical()

Returns

Boolean:

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

Inherited Members