In This Article

MetroLightDocumentWindowTabStripRenderer Class

Provides a renderer for the TabStrip control that is similar to a Metro Light document window style.

public class MetroLightDocumentWindowTabStripRenderer : VisualStudio2005ToolWindowTabStripRenderer, IDisposable, IToolWindowTabStripRenderer, IDocumentWindowTabStripRenderer, ITabStripRenderer, IUIRenderer
Inheritance:
Object MarshalByRefObject DisposableObject TabStripRenderer VisualStudio2005ToolWindowTabStripRenderer Object
Implements:
IDisposable IToolWindowTabStripRenderer IDocumentWindowTabStripRenderer ITabStripRenderer IUIRenderer

Constructors

MetroLightDocumentWindowTabStripRenderer()

Initializes a new instance of the MetroLightDocumentWindowTabStripRenderer class.

public MetroLightDocumentWindowTabStripRenderer()

Remarks

The default constructor initializes all fields to their default values.

Properties

TabStripTabHotBackgroundFill

Gets or sets the BackgroundFill for a hot TabStripTab.

public BackgroundFill TabStripTabHotBackgroundFill { get; set; }

Property Value

BackgroundFill:

The BackgroundFill for a hot TabStripTab.

TabStripTabSelectedUnfocusedBackgroundFill

Gets or sets the BackgroundFill for a selected unfocused TabStripTab.

public BackgroundFill TabStripTabSelectedUnfocusedBackgroundFill { get; set; }

Property Value

BackgroundFill:

The BackgroundFill for a selected unfocused TabStripTab.

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.

DrawTabStripBackground(PaintEventArgs, Rectangle, TabStrip)

Draws the background of a TabStrip control.

public override void DrawTabStripBackground(PaintEventArgs e, Rectangle bounds, TabStrip tabStrip)
Parameter Type Description
e PaintEventArgs

A PaintEventArgs that contains the event data.

bounds Rectangle

The bounds in which to draw.

tabStrip TabStrip

The TabStrip being painted.

DrawTabStripTab(PaintEventArgs, Rectangle, TabStripTab)

Draws a TabStripTab.

public override void DrawTabStripTab(PaintEventArgs e, Rectangle bounds, TabStripTab tabStripTab)
Parameter Type Description
e PaintEventArgs

A PaintEventArgs that contains the event data.

bounds Rectangle

The bounds in which to draw.

tabStripTab TabStripTab

The TabStripTab that 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.

ResetTabStripButtonHotBackgroundFill()

Resets the TabStripButtonHotBackgroundFill property to its default value.

public override void ResetTabStripButtonHotBackgroundFill()

ResetTabStripButtonHotBorder()

Resets the TabStripButtonHotBorder property to its default value.

public override void ResetTabStripButtonHotBorder()

ResetTabStripButtonHotPressedBackgroundFill()

Resets the TabStripButtonHotPressedBackgroundFill property to its default value.

public override void ResetTabStripButtonHotPressedBackgroundFill()

ResetTabStripButtonHotPressedBorder()

Resets the TabStripButtonHotPressedBorder property to its default value.

public override void ResetTabStripButtonHotPressedBorder()

ResetTabStripPageMargin()

Resets the TabStripPageMargin property to its default value.

public override void ResetTabStripPageMargin()

ResetTabStripTabContainerBackgroundFill()

Resets the TabStripTabContainerBackgroundFill property to its default value.

public override void ResetTabStripTabContainerBackgroundFill()

ResetTabStripTabHotBackgroundFill()

Resets the TabStripTabHotBackgroundFill property to its default value.

public virtual void ResetTabStripTabHotBackgroundFill()

ResetTabStripTabInnerMargin()

Resets the TabStripTabInnerMargin property to its default value.

public override void ResetTabStripTabInnerMargin()

ResetTabStripTabOuterMargin()

Resets the TabStripTabOuterMargin property to its default value.

public override void ResetTabStripTabOuterMargin()

ResetTabStripTabOverlap()

Resets the TabStripTabOverlap property to its default value.

public override void ResetTabStripTabOverlap()

ResetTabStripTabSelectedBackgroundFill()

Resets the TabStripTabSelectedBackgroundFill property to its default value.

public override void ResetTabStripTabSelectedBackgroundFill()

ResetTabStripTabSelectedBorderColor()

Resets the TabStripTabSelectedBorderColor property to its default value.

public override void ResetTabStripTabSelectedBorderColor()

ResetTabStripTabSelectedForeColor()

Resets the TabStripTabSelectedForeColor property to its default value.

public override void ResetTabStripTabSelectedForeColor()

ResetTabStripTabSelectedUnfocusedBackgroundFill()

Resets the TabStripTabSelectedUnfocusedBackgroundFill property to its default value.

public virtual void ResetTabStripTabSelectedUnfocusedBackgroundFill()

ResetTabStripTabUnselectedBackgroundFill()

Resets the TabStripTabUnselectedBackgroundFill property to its default value.

public override void ResetTabStripTabUnselectedBackgroundFill()

ResetTabStripTabUnselectedBorderColor()

Resets the TabStripTabUnselectedBorderColor property to its default value.

public override void ResetTabStripTabUnselectedBorderColor()

ResetTabStripTabUnselectedForeColor()

Resets the TabStripTabUnselectedForeColor property to its default value.

public override void ResetTabStripTabUnselectedForeColor()

ShouldSerializeTabStripButtonHotBackgroundFill()

Indicates whether the TabStripButtonHotBackgroundFill property should be persisted.

public override bool ShouldSerializeTabStripButtonHotBackgroundFill()

Returns

Boolean:

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

ShouldSerializeTabStripButtonHotBorder()

Indicates whether the TabStripButtonHotBorder property should be persisted.

public override bool ShouldSerializeTabStripButtonHotBorder()

Returns

Boolean:

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

ShouldSerializeTabStripButtonHotPressedBackgroundFill()

Indicates whether the TabStripButtonHotPressedBackgroundFill property should be persisted.

public override bool ShouldSerializeTabStripButtonHotPressedBackgroundFill()

Returns

Boolean:

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

ShouldSerializeTabStripButtonHotPressedBorder()

Indicates whether the TabStripButtonHotPressedBorder property should be persisted.

public override bool ShouldSerializeTabStripButtonHotPressedBorder()

Returns

Boolean:

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

ShouldSerializeTabStripPageMargin()

Indicates whether the TabStripPageMargin property should be persisted.

public override bool ShouldSerializeTabStripPageMargin()

Returns

Boolean:

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

ShouldSerializeTabStripTabContainerBackgroundFill()

Indicates whether the TabStripTabContainerBackgroundFill property should be persisted.

public override bool ShouldSerializeTabStripTabContainerBackgroundFill()

Returns

Boolean:

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

ShouldSerializeTabStripTabHotBackgroundFill()

Indicates whether the TabStripTabHotBackgroundFill property should be persisted.

public virtual bool ShouldSerializeTabStripTabHotBackgroundFill()

Returns

Boolean:

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

ShouldSerializeTabStripTabInnerMargin()

Indicates whether the TabStripTabInnerMargin property should be persisted.

public override bool ShouldSerializeTabStripTabInnerMargin()

Returns

Boolean:

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

ShouldSerializeTabStripTabOuterMargin()

Indicates whether the TabStripTabOuterMargin property should be persisted.

public override bool ShouldSerializeTabStripTabOuterMargin()

Returns

Boolean:

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

ShouldSerializeTabStripTabOverlap()

Indicates whether the TabStripTabOverlap property should be persisted.

public override bool ShouldSerializeTabStripTabOverlap()

Returns

Boolean:

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

ShouldSerializeTabStripTabSelectedBackgroundFill()

Indicates whether the TabStripTabSelectedBackgroundFill property should be persisted.

public override bool ShouldSerializeTabStripTabSelectedBackgroundFill()

Returns

Boolean:

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

ShouldSerializeTabStripTabSelectedBorderColor()

Indicates whether the TabStripTabSelectedBorderColor property should be persisted.

public override bool ShouldSerializeTabStripTabSelectedBorderColor()

Returns

Boolean:

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

ShouldSerializeTabStripTabSelectedForeColor()

Indicates whether the TabStripTabSelectedForeColor property should be persisted.

public override bool ShouldSerializeTabStripTabSelectedForeColor()

Returns

Boolean:

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

ShouldSerializeTabStripTabSelectedUnfocusedBackgroundFill()

Indicates whether the TabStripTabSelectedUnfocusedBackgroundFill property should be persisted.

public virtual bool ShouldSerializeTabStripTabSelectedUnfocusedBackgroundFill()

Returns

Boolean:

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

ShouldSerializeTabStripTabUnselectedBackgroundFill()

Indicates whether the TabStripTabUnselectedBackgroundFill property should be persisted.

public override bool ShouldSerializeTabStripTabUnselectedBackgroundFill()

Returns

Boolean:

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

ShouldSerializeTabStripTabUnselectedBorderColor()

Indicates whether the TabStripTabUnselectedBorderColor property should be persisted.

public override bool ShouldSerializeTabStripTabUnselectedBorderColor()

Returns

Boolean:

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

ShouldSerializeTabStripTabUnselectedForeColor()

Indicates whether the TabStripTabUnselectedForeColor property should be persisted.

public override bool ShouldSerializeTabStripTabUnselectedForeColor()

Returns

Boolean:

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

Inherited Members