VisualStudio2002ToolWindowTabStripRenderer Class
Provides a renderer for the TabStrip control that is similar to a Visual Studio 2002 tool window style.
public class VisualStudio2002ToolWindowTabStripRenderer : TabStripRenderer, IDisposable, IToolWindowTabStripRenderer, ITabStripRenderer, IUIRenderer
- Inheritance:
- Object MarshalByRefObject DisposableObject TabStripRenderer Object
Constructors
VisualStudio2002ToolWindowTabStripRenderer()
Initializes a new instance of the VisualStudio2002ToolWindowTabStripRenderer
class.
public VisualStudio2002ToolWindowTabStripRenderer()
Remarks
The default constructor initializes all fields to their default values.
Properties
TabStripBackgroundFill
Gets or sets the BackgroundFill for a TabStrip.
public BackgroundFill TabStripBackgroundFill { get; set; }
Property Value
- BackgroundFill:
The BackgroundFill for a TabStrip.
TabStripButtonGlyphColor
Gets or sets the glyph color of a TabStripButton.
public Color TabStripButtonGlyphColor { get; set; }
Property Value
- Color:
A Color object specifying the glyph color of a TabStripButton.
TabStripButtonHotBackgroundFill
Gets or sets the BackgroundFill for a TabStripButton in a hot state.
public BackgroundFill TabStripButtonHotBackgroundFill { get; set; }
Property Value
- BackgroundFill:
The BackgroundFill for a TabStripButton in a hot state.
TabStripButtonHotBorder
Gets or sets the Border for a TabStripButton in a hot state.
public Border TabStripButtonHotBorder { get; set; }
Property Value
- Border:
The Border for a TabStripButton in a hot state.
TabStripButtonHotPressedBackgroundFill
Gets or sets the BackgroundFill for a TabStripButton in a hot/pressed state.
public BackgroundFill TabStripButtonHotPressedBackgroundFill { get; set; }
Property Value
- BackgroundFill:
The BackgroundFill for a TabStripButton in a hot/pressed state.
TabStripButtonHotPressedBorder
Gets or sets the Border for a TabStripButton in a hot/pressed state.
public Border TabStripButtonHotPressedBorder { get; set; }
Property Value
- Border:
The Border for a TabStripButton in a hot/pressed state.
TabStripButtonHotPressedOffset
Gets or sets the offset to apply to a TabStripButton in a hot/pressed state.
public virtual int TabStripButtonHotPressedOffset { get; set; }
Property Value
- Int32:
The offset to apply to a TabStripButton in a hot/pressed state.
TabStripButtonNormalBackgroundFill
Gets or sets the BackgroundFill for a TabStripButton in a normal state.
public BackgroundFill TabStripButtonNormalBackgroundFill { get; set; }
Property Value
- BackgroundFill:
The BackgroundFill for a TabStripButton in a normal state.
TabStripButtonNormalBorder
Gets or sets the Border for a TabStripButton in a normal state.
public Border TabStripButtonNormalBorder { get; set; }
Property Value
- Border:
The Border for a TabStripButton in a normal state.
TabStripPageDefaultBackgroundFill
Gets or sets the BackgroundFill for a TabStripPage.
public BackgroundFill TabStripPageDefaultBackgroundFill { get; set; }
Property Value
- BackgroundFill:
The BackgroundFill for a TabStripPage.
TabStripTabContainerBackgroundFill
Gets or sets the BackgroundFill for a TabStrip tab container.
public BackgroundFill TabStripTabContainerBackgroundFill { get; set; }
Property Value
- BackgroundFill:
The BackgroundFill for a TabStrip tab container.
TabStripTabDarkBorderColor
Gets or sets the dark border color of a TabStripTab.
public Color TabStripTabDarkBorderColor { get; set; }
Property Value
- Color:
A Color object specifying the dark border color of a TabStripTab.
TabStripTabDisabledForeColor
Gets or sets the foreground color of a disabled TabStripTab.
public Color TabStripTabDisabledForeColor { get; set; }
Property Value
- Color:
A Color object specifying the foreground color of a disabled TabStripTab.
TabStripTabLightBorderColor
Gets or sets the light border color of a TabStripTab.
public Color TabStripTabLightBorderColor { get; set; }
Property Value
- Color:
A Color object specifying the light border color of a TabStripTab.
TabStripTabSelectedBackgroundFill
Gets or sets the BackgroundFill for a selected TabStripTab.
public BackgroundFill TabStripTabSelectedBackgroundFill { get; set; }
Property Value
- BackgroundFill:
The BackgroundFill for a selected TabStripTab.
TabStripTabSelectedForeColor
Gets or sets the foreground color of a selected TabStripTab.
public Color TabStripTabSelectedForeColor { get; set; }
Property Value
- Color:
A Color object specifying the foreground color of a selected TabStripTab.
TabStripTabTextStringTrimming
Gets or sets the StringTrimming to use when drawing text.
public virtual StringTrimming TabStripTabTextStringTrimming { get; set; }
Property Value
- StringTrimming:
The StringTrimming to use when drawing text.
TabStripTabUnselectedBackgroundFill
Gets or sets the BackgroundFill for a unselected TabStripTab.
public BackgroundFill TabStripTabUnselectedBackgroundFill { get; set; }
Property Value
- BackgroundFill:
The BackgroundFill for a unselected TabStripTab.
TabStripTabUnselectedForeColor
Gets or sets the foreground color of a unselected TabStripTab.
public Color TabStripTabUnselectedForeColor { get; set; }
Property Value
- Color:
A Color object specifying the foreground color of a unselected 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. |
DrawTabStripButton(PaintEventArgs, Rectangle, TabStripButton)
Draws a TabStripButton.
public override void DrawTabStripButton(PaintEventArgs e, Rectangle bounds, TabStripButton button)
Parameter | Type | Description |
---|---|---|
e | PaintEventArgs | A PaintEventArgs that contains the event data. |
bounds | Rectangle | The bounds in which to draw. |
button | TabStripButton | The TabStripButton that is being painted. |
DrawTabStripPageBackground(PaintEventArgs, Rectangle, TabStripPage)
Draws the background of a TabStripPage control.
public override void DrawTabStripPageBackground(PaintEventArgs e, Rectangle bounds, TabStripPage tabStripPage)
Parameter | Type | Description |
---|---|---|
e | PaintEventArgs | A PaintEventArgs that contains the event data. |
bounds | Rectangle | The bounds in which to draw. |
tabStripPage | TabStripPage | The TabStripPage 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. |
ResetResetAllPropertiesOnSystemColorChange()
Resets the ResetAllPropertiesOnSystemColorChange property to its default value.
public override void ResetResetAllPropertiesOnSystemColorChange()
ResetTabStripBackgroundFill()
Resets the TabStripBackgroundFill property to its default value.
public virtual void ResetTabStripBackgroundFill()
ResetTabStripButtonGlyphColor()
Resets the TabStripButtonGlyphColor property to its default value.
public virtual void ResetTabStripButtonGlyphColor()
ResetTabStripButtonHotBackgroundFill()
Resets the TabStripButtonHotBackgroundFill property to its default value.
public virtual void ResetTabStripButtonHotBackgroundFill()
ResetTabStripButtonHotBorder()
Resets the TabStripButtonHotBorder property to its default value.
public virtual void ResetTabStripButtonHotBorder()
ResetTabStripButtonHotPressedBackgroundFill()
Resets the TabStripButtonHotPressedBackgroundFill property to its default value.
public virtual void ResetTabStripButtonHotPressedBackgroundFill()
ResetTabStripButtonHotPressedBorder()
Resets the TabStripButtonHotPressedBorder property to its default value.
public virtual void ResetTabStripButtonHotPressedBorder()
ResetTabStripButtonHotPressedOffset()
Resets the TabStripButtonHotPressedOffset property to its default value.
public virtual void ResetTabStripButtonHotPressedOffset()
ResetTabStripButtonNormalBackgroundFill()
Resets the TabStripButtonNormalBackgroundFill property to its default value.
public virtual void ResetTabStripButtonNormalBackgroundFill()
ResetTabStripButtonNormalBorder()
Resets the TabStripButtonNormalBorder property to its default value.
public virtual void ResetTabStripButtonNormalBorder()
ResetTabStripPageDefaultBackgroundFill()
Resets the TabStripPageDefaultBackgroundFill property to its default value.
public virtual void ResetTabStripPageDefaultBackgroundFill()
ResetTabStripTabContainerBackgroundFill()
Resets the TabStripTabContainerBackgroundFill property to its default value.
public virtual void ResetTabStripTabContainerBackgroundFill()
ResetTabStripTabDarkBorderColor()
Resets the TabStripTabDarkBorderColor property to its default value.
public virtual void ResetTabStripTabDarkBorderColor()
ResetTabStripTabDisabledForeColor()
Resets the TabStripTabDisabledForeColor property to its default value.
public virtual void ResetTabStripTabDisabledForeColor()
ResetTabStripTabLightBorderColor()
Resets the TabStripTabLightBorderColor property to its default value.
public virtual void ResetTabStripTabLightBorderColor()
ResetTabStripTabSelectedBackgroundFill()
Resets the TabStripTabSelectedBackgroundFill property to its default value.
public virtual void ResetTabStripTabSelectedBackgroundFill()
ResetTabStripTabSelectedForeColor()
Resets the TabStripTabSelectedForeColor property to its default value.
public virtual void ResetTabStripTabSelectedForeColor()
ResetTabStripTabTextStringTrimming()
Resets the TabStripTabTextStringTrimming property to its default value.
public virtual void ResetTabStripTabTextStringTrimming()
ResetTabStripTabUnselectedBackgroundFill()
Resets the TabStripTabUnselectedBackgroundFill property to its default value.
public virtual void ResetTabStripTabUnselectedBackgroundFill()
ResetTabStripTabUnselectedForeColor()
Resets the TabStripTabUnselectedForeColor property to its default value.
public virtual void ResetTabStripTabUnselectedForeColor()
ShouldSerializeResetAllPropertiesOnSystemColorChange()
Indicates whether the ResetAllPropertiesOnSystemColorChange property should be persisted.
public override bool ShouldSerializeResetAllPropertiesOnSystemColorChange()
Returns
- Boolean:
true
if the property value has changed from its default; otherwise,false
.
ShouldSerializeTabStripBackgroundFill()
Indicates whether the TabStripBackgroundFill property should be persisted.
public virtual bool ShouldSerializeTabStripBackgroundFill()
Returns
- Boolean:
true
if the property value has changed from its default; otherwise,false
.
ShouldSerializeTabStripButtonGlyphColor()
Indicates whether the TabStripButtonGlyphColor property should be persisted.
public virtual bool ShouldSerializeTabStripButtonGlyphColor()
Returns
- Boolean:
true
if the property value has changed from its default; otherwise,false
.
ShouldSerializeTabStripButtonHotBackgroundFill()
Indicates whether the TabStripButtonHotBackgroundFill property should be persisted.
public virtual 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 virtual 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 virtual 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 virtual bool ShouldSerializeTabStripButtonHotPressedBorder()
Returns
- Boolean:
true
if the property value has changed from its default; otherwise,false
.
ShouldSerializeTabStripButtonHotPressedOffset()
Indicates whether the TabStripButtonHotPressedOffset property should be persisted.
public virtual bool ShouldSerializeTabStripButtonHotPressedOffset()
Returns
- Boolean:
true
if the property value has changed from its default; otherwise,false
.
ShouldSerializeTabStripButtonNormalBackgroundFill()
Indicates whether the TabStripButtonNormalBackgroundFill property should be persisted.
public virtual bool ShouldSerializeTabStripButtonNormalBackgroundFill()
Returns
- Boolean:
true
if the property value has changed from its default; otherwise,false
.
ShouldSerializeTabStripButtonNormalBorder()
Indicates whether the TabStripButtonNormalBorder property should be persisted.
public virtual bool ShouldSerializeTabStripButtonNormalBorder()
Returns
- Boolean:
true
if the property value has changed from its default; otherwise,false
.
ShouldSerializeTabStripPageDefaultBackgroundFill()
Indicates whether the TabStripPageDefaultBackgroundFill property should be persisted.
public virtual 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 virtual bool ShouldSerializeTabStripTabContainerBackgroundFill()
Returns
- Boolean:
true
if the property value has changed from its default; otherwise,false
.
ShouldSerializeTabStripTabDarkBorderColor()
Indicates whether the TabStripTabDarkBorderColor property should be persisted.
public virtual bool ShouldSerializeTabStripTabDarkBorderColor()
Returns
- Boolean:
true
if the property value has changed from its default; otherwise,false
.
ShouldSerializeTabStripTabDisabledForeColor()
Indicates whether the TabStripTabDisabledForeColor property should be persisted.
public virtual bool ShouldSerializeTabStripTabDisabledForeColor()
Returns
- Boolean:
true
if the property value has changed from its default; otherwise,false
.
ShouldSerializeTabStripTabLightBorderColor()
Indicates whether the TabStripTabLightBorderColor property should be persisted.
public virtual bool ShouldSerializeTabStripTabLightBorderColor()
Returns
- Boolean:
true
if the property value has changed from its default; otherwise,false
.
ShouldSerializeTabStripTabSelectedBackgroundFill()
Indicates whether the TabStripTabSelectedBackgroundFill property should be persisted.
public virtual bool ShouldSerializeTabStripTabSelectedBackgroundFill()
Returns
- Boolean:
true
if the property value has changed from its default; otherwise,false
.
ShouldSerializeTabStripTabSelectedForeColor()
Indicates whether the TabStripTabSelectedForeColor property should be persisted.
public virtual 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 virtual 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 virtual bool ShouldSerializeTabStripTabUnselectedBackgroundFill()
Returns
- Boolean:
true
if the property value has changed from its default; otherwise,false
.
ShouldSerializeTabStripTabUnselectedForeColor()
Indicates whether the TabStripTabUnselectedForeColor property should be persisted.
public virtual bool ShouldSerializeTabStripTabUnselectedForeColor()
Returns
- Boolean:
true
if the property value has changed from its default; otherwise,false
.
Inherited Members
- TabStripRenderer.ResetCanAutoScaleImages()
- TabStripRenderer.ShouldSerializeCanAutoScaleImages()
- TabStripRenderer.Equals(Object)
- TabStripRenderer.GetHashCode()
- TabStripRenderer.MeasureTabStripTab(Graphics, TabStripPage)
- TabStripRenderer.MeasureTabStripTabCore(Graphics, TabStripPage, Boolean)
- TabStripRenderer.OnPropertyChanged(EventArgs)
- TabStripRenderer.ResetTabStripButtonSize()
- TabStripRenderer.ShouldSerializeTabStripButtonSize()
- TabStripRenderer.ResetTabStripPageMargin()
- TabStripRenderer.ShouldSerializeTabStripPageMargin()
- TabStripRenderer.ResetTabStripTabImageMargin()
- TabStripRenderer.ShouldSerializeTabStripTabImageMargin()
- TabStripRenderer.ResetTabStripTabIndent()
- TabStripRenderer.ShouldSerializeTabStripTabIndent()
- TabStripRenderer.ResetTabStripTabInnerMargin()
- TabStripRenderer.ShouldSerializeTabStripTabInnerMargin()
- TabStripRenderer.ResetTabStripTabOuterMargin()
- TabStripRenderer.ShouldSerializeTabStripTabOuterMargin()
- TabStripRenderer.ResetTabStripTabOverlap()
- TabStripRenderer.ShouldSerializeTabStripTabOverlap()
- TabStripRenderer.ResetTabStripTabSelectedFont()
- TabStripRenderer.ShouldSerializeTabStripTabSelectedFont()
- TabStripRenderer.ResetTabStripTabTextMargin()
- TabStripRenderer.ShouldSerializeTabStripTabTextMargin()
- TabStripRenderer.ResetTabStripTabUnselectedFont()
- TabStripRenderer.ShouldSerializeTabStripTabUnselectedFont()
- TabStripRenderer.CanAutoScaleImages
- TabStripRenderer.ResetAllPropertiesOnSystemColorChange
- TabStripRenderer.TabStripButtonSize
- TabStripRenderer.TabStripPageMargin
- TabStripRenderer.TabStripTabImageMargin
- TabStripRenderer.TabStripTabIndent
- TabStripRenderer.TabStripTabInnerMargin
- TabStripRenderer.TabStripTabOuterMargin
- TabStripRenderer.TabStripTabOverlap
- TabStripRenderer.TabStripTabSelectedFont
- TabStripRenderer.TabStripTabTextMargin
- TabStripRenderer.TabStripTabUnselectedFont
- TabStripRenderer.PropertyChanged
- DisposableObject.Dispose()
- DisposableObject.VerifyNotDisposed()
- DisposableObject.IsDisposed
- DisposableObject.Disposed
- MarshalByRefObject.MemberwiseClone(Boolean)
- MarshalByRefObject.GetLifetimeService()
- MarshalByRefObject.InitializeLifetimeService()
- MarshalByRefObject.CreateObjRef(Type)
- Object.ToString()
- Object.Equals(Object, Object)
- Object.ReferenceEquals(Object, Object)
- Object.GetType()
- Object.MemberwiseClone()