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
- VisualStudio2005ToolWindowTabStripRenderer.DrawTabStripButton(PaintEventArgs, Rectangle, TabStripButton)
- VisualStudio2005ToolWindowTabStripRenderer.DrawTabStripPageBackground(PaintEventArgs, Rectangle, TabStripPage)
- VisualStudio2005ToolWindowTabStripRenderer.ResetMatchBackgroundToParentForm()
- VisualStudio2005ToolWindowTabStripRenderer.ShouldSerializeMatchBackgroundToParentForm()
- VisualStudio2005ToolWindowTabStripRenderer.MeasureTabStripTab(Graphics, TabStripPage)
- VisualStudio2005ToolWindowTabStripRenderer.ResetResetAllPropertiesOnSystemColorChange()
- VisualStudio2005ToolWindowTabStripRenderer.ShouldSerializeResetAllPropertiesOnSystemColorChange()
- VisualStudio2005ToolWindowTabStripRenderer.ResetTabStripBackgroundFill()
- VisualStudio2005ToolWindowTabStripRenderer.ShouldSerializeTabStripBackgroundFill()
- VisualStudio2005ToolWindowTabStripRenderer.ResetTabStripButtonGlyphColor()
- VisualStudio2005ToolWindowTabStripRenderer.ShouldSerializeTabStripButtonGlyphColor()
- VisualStudio2005ToolWindowTabStripRenderer.ResetTabStripButtonHotPressedOffset()
- VisualStudio2005ToolWindowTabStripRenderer.ShouldSerializeTabStripButtonHotPressedOffset()
- VisualStudio2005ToolWindowTabStripRenderer.ResetTabStripButtonNormalBackgroundFill()
- VisualStudio2005ToolWindowTabStripRenderer.ShouldSerializeTabStripButtonNormalBackgroundFill()
- VisualStudio2005ToolWindowTabStripRenderer.ResetTabStripButtonNormalBorder()
- VisualStudio2005ToolWindowTabStripRenderer.ShouldSerializeTabStripButtonNormalBorder()
- VisualStudio2005ToolWindowTabStripRenderer.ResetTabStripPageDefaultBackgroundFill()
- VisualStudio2005ToolWindowTabStripRenderer.ShouldSerializeTabStripPageDefaultBackgroundFill()
- VisualStudio2005ToolWindowTabStripRenderer.ResetTabStripTabContainerBorderVisible()
- VisualStudio2005ToolWindowTabStripRenderer.ShouldSerializeTabStripTabContainerBorderVisible()
- VisualStudio2005ToolWindowTabStripRenderer.ResetTabStripTabDisabledForeColor()
- VisualStudio2005ToolWindowTabStripRenderer.ShouldSerializeTabStripTabDisabledForeColor()
- VisualStudio2005ToolWindowTabStripRenderer.ResetTabStripTabIndent()
- VisualStudio2005ToolWindowTabStripRenderer.ShouldSerializeTabStripTabIndent()
- VisualStudio2005ToolWindowTabStripRenderer.ResetTabStripTabTextStringTrimming()
- VisualStudio2005ToolWindowTabStripRenderer.ShouldSerializeTabStripTabTextStringTrimming()
- VisualStudio2005ToolWindowTabStripRenderer.MatchBackgroundToParentForm
- VisualStudio2005ToolWindowTabStripRenderer.TabStripBackgroundFill
- VisualStudio2005ToolWindowTabStripRenderer.TabStripButtonGlyphColor
- VisualStudio2005ToolWindowTabStripRenderer.TabStripButtonHotBackgroundFill
- VisualStudio2005ToolWindowTabStripRenderer.TabStripButtonHotBorder
- VisualStudio2005ToolWindowTabStripRenderer.TabStripButtonHotPressedBackgroundFill
- VisualStudio2005ToolWindowTabStripRenderer.TabStripButtonHotPressedBorder
- VisualStudio2005ToolWindowTabStripRenderer.TabStripButtonHotPressedOffset
- VisualStudio2005ToolWindowTabStripRenderer.TabStripButtonNormalBackgroundFill
- VisualStudio2005ToolWindowTabStripRenderer.TabStripButtonNormalBorder
- VisualStudio2005ToolWindowTabStripRenderer.TabStripPageDefaultBackgroundFill
- VisualStudio2005ToolWindowTabStripRenderer.TabStripTabContainerBackgroundFill
- VisualStudio2005ToolWindowTabStripRenderer.TabStripTabContainerBorderVisible
- VisualStudio2005ToolWindowTabStripRenderer.TabStripTabDisabledForeColor
- VisualStudio2005ToolWindowTabStripRenderer.TabStripTabSelectedBackgroundFill
- VisualStudio2005ToolWindowTabStripRenderer.TabStripTabSelectedBorderColor
- VisualStudio2005ToolWindowTabStripRenderer.TabStripTabSelectedForeColor
- VisualStudio2005ToolWindowTabStripRenderer.TabStripTabTextStringTrimming
- VisualStudio2005ToolWindowTabStripRenderer.TabStripTabUnselectedBackgroundFill
- VisualStudio2005ToolWindowTabStripRenderer.TabStripTabUnselectedBorderColor
- VisualStudio2005ToolWindowTabStripRenderer.TabStripTabUnselectedForeColor
- TabStripRenderer.ResetCanAutoScaleImages()
- TabStripRenderer.ShouldSerializeCanAutoScaleImages()
- TabStripRenderer.Equals(Object)
- TabStripRenderer.GetHashCode()
- TabStripRenderer.MeasureTabStripTabCore(Graphics, TabStripPage, Boolean)
- TabStripRenderer.OnPropertyChanged(EventArgs)
- TabStripRenderer.ResetTabStripButtonSize()
- TabStripRenderer.ShouldSerializeTabStripButtonSize()
- TabStripRenderer.ResetTabStripTabImageMargin()
- TabStripRenderer.ShouldSerializeTabStripTabImageMargin()
- 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()