In This Article

VisualStudio2005DocumentWindowTabStripRenderer Class

Provides a renderer for the TabStrip control that is similar to a Visual Studio 2005 document window style.

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

Constructors

VisualStudio2005DocumentWindowTabStripRenderer()

Initializes a new instance of the VisualStudio2005DocumentWindowTabStripRenderer class.

public VisualStudio2005DocumentWindowTabStripRenderer()

Remarks

The default constructor initializes all fields to their default values.

Methods

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.

MeasureTabStripTab(Graphics, TabStripPage)

Measures the tab for the specified TabStripPage.

public override Size MeasureTabStripTab(Graphics g, TabStripPage tabStripPage)
Parameter Type Description
g Graphics

The Graphics object used to measure.

tabStripPage TabStripPage

The TabStripPage whose tab is being measured.

Returns

Size:

The Size of the tab.

ResetMatchBackgroundToParentForm()

Resets the MatchBackgroundToParentForm property to its default value.

public override void ResetMatchBackgroundToParentForm()

ResetTabStripBackgroundFill()

Resets the TabStripBackgroundFill property to its default value.

public override void ResetTabStripBackgroundFill()

ResetTabStripPageDefaultBackgroundFill()

Resets the TabStripPageDefaultBackgroundFill property to its default value.

public override void ResetTabStripPageDefaultBackgroundFill()

ResetTabStripTabContainerBackgroundFill()

Resets the TabStripTabContainerBackgroundFill property to its default value.

public override void ResetTabStripTabContainerBackgroundFill()

ResetTabStripTabIndent()

Resets the TabStripTabIndent property to its default value.

public override void ResetTabStripTabIndent()

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()

ResetTabStripTabSelectedFont()

Resets the TabStripTabSelectedFont property to its default value.

public override void ResetTabStripTabSelectedFont()

ResetTabStripTabSelectedForeColor()

Resets the TabStripTabSelectedForeColor property to its default value.

public override void ResetTabStripTabSelectedForeColor()

ResetTabStripTabTextStringTrimming()

Resets the TabStripTabTextStringTrimming property to its default value.

public override void ResetTabStripTabTextStringTrimming()

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()

ShouldSerializeMatchBackgroundToParentForm()

Indicates whether the MatchBackgroundToParentForm property should be persisted.

public override bool ShouldSerializeMatchBackgroundToParentForm()

Returns

Boolean:

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

ShouldSerializeTabStripBackgroundFill()

Indicates whether the TabStripBackgroundFill property should be persisted.

public override bool ShouldSerializeTabStripBackgroundFill()

Returns

Boolean:

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

ShouldSerializeTabStripPageDefaultBackgroundFill()

Indicates whether the TabStripPageDefaultBackgroundFill property should be persisted.

public override bool ShouldSerializeTabStripPageDefaultBackgroundFill()

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.

ShouldSerializeTabStripTabIndent()

Indicates whether the TabStripTabIndent property should be persisted.

public override bool ShouldSerializeTabStripTabIndent()

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.

ShouldSerializeTabStripTabSelectedFont()

Indicates whether the TabStripTabSelectedFont property should be persisted.

public override bool ShouldSerializeTabStripTabSelectedFont()

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.

ShouldSerializeTabStripTabTextStringTrimming()

Indicates whether the TabStripTabTextStringTrimming property should be persisted.

public override bool ShouldSerializeTabStripTabTextStringTrimming()

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