In This Article

VisualStudio2005Beta2ToolWindowTabStripRenderer Class

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

public class VisualStudio2005Beta2ToolWindowTabStripRenderer : VisualStudio2005ToolWindowTabStripRenderer, IDisposable, IToolWindowTabStripRenderer, ITabStripRenderer, IUIRenderer
Inheritance:
Object MarshalByRefObject DisposableObject TabStripRenderer VisualStudio2005ToolWindowTabStripRenderer Object
Derived:
Office2003VisualStudio2005Beta2ToolWindowTabStripRenderer
Implements:
IDisposable IToolWindowTabStripRenderer ITabStripRenderer IUIRenderer

Constructors

VisualStudio2005Beta2ToolWindowTabStripRenderer()

Initializes a new instance of the VisualStudio2005Beta2ToolWindowTabStripRenderer class.

public VisualStudio2005Beta2ToolWindowTabStripRenderer()

Remarks

The default constructor initializes all fields to their default values.

Methods

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.

ResetTabStripBackgroundFill()

Resets the TabStripBackgroundFill property to its default value.

public override void ResetTabStripBackgroundFill()

ResetTabStripTabInnerMargin()

Resets the TabStripTabInnerMargin property to its default value.

public override void ResetTabStripTabInnerMargin()

ResetTabStripTabOverlap()

Resets the TabStripTabOverlap property to its default value.

public override void ResetTabStripTabOverlap()

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

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.

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.

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.

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