WindowsClassicStatusBarRenderer Class
Provides a renderer for StatusBar controls that have a Windows classic appearance.
public class WindowsClassicStatusBarRenderer : StatusBarRenderer, IDisposable, IStatusBarRenderer, IUIRenderer
- Inheritance:
- object MarshalByRefObject DisposableObject UIRenderer StatusBarRenderer object
- Implements:
- IDisposable IStatusBarRenderer IUIRenderer
Constructors
WindowsClassicStatusBarRenderer()
Initializes a new instance of the VisualStudio2002StatusBarRenderer
class.
public WindowsClassicStatusBarRenderer()
Remarks
The default constructor initializes all fields to their default values.
Properties
StatusBarBackgroundFill
Gets or sets the BackgroundFill for a statusbar.
public BackgroundFill StatusBarBackgroundFill { get; set; }
Property Value
- BackgroundFill:
The BackgroundFill for a statusbar.
StatusBarDecorationDarkColor
Gets or sets the dark Color of decorations.
public Color StatusBarDecorationDarkColor { get; set; }
Property Value
StatusBarDecorationLightColor
Gets or sets the light Color of decorations.
public Color StatusBarDecorationLightColor { get; set; }
Property Value
StatusBarPanelDefaultBackgroundFill
Gets or sets the default BackgroundFill for a statusbar panel.
public BackgroundFill StatusBarPanelDefaultBackgroundFill { get; set; }
Property Value
- BackgroundFill:
The default BackgroundFill for a statusbar panel.
StatusBarPanelDefaultBorder
Gets or sets the default SimpleBorder for a statusbar panel.
public SimpleBorder StatusBarPanelDefaultBorder { get; set; }
Property Value
- SimpleBorder:
The default SimpleBorder for a statusbar panel.
StatusBarPanelDefaultDisabledForeColor
Gets or sets the default disabled foreground color of statusbar panel text.
public Color StatusBarPanelDefaultDisabledForeColor { get; set; }
Property Value
StatusBarPanelDefaultForeColor
Gets or sets the default foreground color of statusbar panel text.
public Color StatusBarPanelDefaultForeColor { get; set; }
Property Value
StatusBarProgressBarPanelDefaultFilledBackgroundFill
Gets or sets the default BackgroundFill for a progress bar panel's filled area.
public BackgroundFill StatusBarProgressBarPanelDefaultFilledBackgroundFill { get; set; }
Property Value
- BackgroundFill:
The default BackgroundFill for a progress bar panel's filled area.
StatusBarProgressBarPanelDefaultFilledForeColor
Gets or sets the default foreground color for a progress bar panel's filled area.
public Color StatusBarProgressBarPanelDefaultFilledForeColor { get; set; }
Property Value
StatusBarProgressBarPanelDefaultUnfilledBackgroundFill
Gets or sets the default BackgroundFill for a progress bar panel's unfilled area.
public BackgroundFill StatusBarProgressBarPanelDefaultUnfilledBackgroundFill { get; set; }
Property Value
- BackgroundFill:
The default BackgroundFill for a progress bar panel's unfilled area.
StatusBarProgressBarPanelDefaultUnfilledForeColor
Gets or sets the default foreground color for a progress bar panel's unfilled area.
public Color StatusBarProgressBarPanelDefaultUnfilledForeColor { get; set; }
Property Value
Methods
Dispose(bool)
Disposes any resources used by the object.
protected override void Dispose(bool disposing)
Parameter | Type | Description |
---|---|---|
disposing | bool | Whether the object is being disposed. |
DrawStatusBarBackground(PaintEventArgs, Rectangle, StatusBar)
Draws the background of a StatusBar control.
public override void DrawStatusBarBackground(PaintEventArgs e, Rectangle bounds, StatusBar statusBar)
Parameter | Type | Description |
---|---|---|
e | PaintEventArgs | A PaintEventArgs that contains the event data. |
bounds | Rectangle | The bounds in which to draw. |
statusBar | StatusBar | The StatusBar being painted. |
DrawStatusBarGripper(PaintEventArgs, Rectangle, StatusBar)
Draws the gripper of a StatusBar control.
public override void DrawStatusBarGripper(PaintEventArgs e, Rectangle bounds, StatusBar statusBar)
Parameter | Type | Description |
---|---|---|
e | PaintEventArgs | A PaintEventArgs that contains the event data. |
bounds | Rectangle | The bounds in which to draw. |
statusBar | StatusBar | The StatusBar being painted. |
DrawStatusBarLabelPanel(PaintEventArgs, Rectangle, StatusBarLabelPanel)
Draws the a StatusBarLabelPanel.
public override void DrawStatusBarLabelPanel(PaintEventArgs e, Rectangle bounds, StatusBarLabelPanel panel)
Parameter | Type | Description |
---|---|---|
e | PaintEventArgs | A PaintEventArgs that contains the event data. |
bounds | Rectangle | The bounds in which to draw. |
panel | StatusBarLabelPanel | The StatusBarLabelPanel being painted. |
DrawStatusBarProgressBarPanel(PaintEventArgs, Rectangle, StatusBarProgressBarPanel)
Draws the a StatusBarProgressBarPanel.
public override void DrawStatusBarProgressBarPanel(PaintEventArgs e, Rectangle bounds, StatusBarProgressBarPanel panel)
Parameter | Type | Description |
---|---|---|
e | PaintEventArgs | A PaintEventArgs that contains the event data. |
bounds | Rectangle | The bounds in which to draw. |
panel | StatusBarProgressBarPanel | The StatusBarProgressBarPanel being painted. |
ResetAll(bool)
Resets all property values to their defaults.
protected override void ResetAll(bool force)
Parameter | Type | Description |
---|---|---|
force | bool | Whether to force resetting. |
ResetStatusBarBackgroundFill()
Resets the StatusBarBackgroundFill property to its default value.
public virtual void ResetStatusBarBackgroundFill()
ResetStatusBarDecorationDarkColor()
Resets the StatusBarDecorationDarkColor property to its default value.
public virtual void ResetStatusBarDecorationDarkColor()
ResetStatusBarDecorationLightColor()
Resets the StatusBarDecorationLightColor property to its default value.
public virtual void ResetStatusBarDecorationLightColor()
ResetStatusBarPanelDefaultBackgroundFill()
Resets the StatusBarPanelDefaultBackgroundFill property to its default value.
public virtual void ResetStatusBarPanelDefaultBackgroundFill()
ResetStatusBarPanelDefaultBorder()
Resets the StatusBarPanelDefaultBorder property to its default value.
public virtual void ResetStatusBarPanelDefaultBorder()
ResetStatusBarPanelDefaultDisabledForeColor()
Resets the StatusBarPanelDefaultDisabledForeColor property to its default value.
public virtual void ResetStatusBarPanelDefaultDisabledForeColor()
ResetStatusBarPanelDefaultForeColor()
Resets the StatusBarPanelDefaultForeColor property to its default value.
public virtual void ResetStatusBarPanelDefaultForeColor()
ResetStatusBarProgressBarPanelDefaultFilledBackgroundFill()
Resets the StatusBarProgressBarPanelDefaultFilledBackgroundFill property to its default value.
public virtual void ResetStatusBarProgressBarPanelDefaultFilledBackgroundFill()
ResetStatusBarProgressBarPanelDefaultFilledForeColor()
Resets the StatusBarProgressBarPanelDefaultFilledForeColor property to its default value.
public virtual void ResetStatusBarProgressBarPanelDefaultFilledForeColor()
ResetStatusBarProgressBarPanelDefaultUnfilledBackgroundFill()
Resets the StatusBarProgressBarPanelDefaultUnfilledBackgroundFill property to its default value.
public virtual void ResetStatusBarProgressBarPanelDefaultUnfilledBackgroundFill()
ResetStatusBarProgressBarPanelDefaultUnfilledForeColor()
Resets the StatusBarProgressBarPanelDefaultUnfilledForeColor property to its default value.
public virtual void ResetStatusBarProgressBarPanelDefaultUnfilledForeColor()
ShouldSerializeStatusBarBackgroundFill()
Indicates whether the StatusBarBackgroundFill property should be persisted.
public virtual bool ShouldSerializeStatusBarBackgroundFill()
Returns
- bool:
true
if the property value has changed from its default; otherwise,false
.
ShouldSerializeStatusBarDecorationDarkColor()
Indicates whether the StatusBarDecorationDarkColor property should be persisted.
public virtual bool ShouldSerializeStatusBarDecorationDarkColor()
Returns
- bool:
true
if the property value has changed from its default; otherwise,false
.
ShouldSerializeStatusBarDecorationLightColor()
Indicates whether the StatusBarDecorationLightColor property should be persisted.
public virtual bool ShouldSerializeStatusBarDecorationLightColor()
Returns
- bool:
true
if the property value has changed from its default; otherwise,false
.
ShouldSerializeStatusBarPanelDefaultBackgroundFill()
Indicates whether the StatusBarPanelDefaultBackgroundFill property should be persisted.
public virtual bool ShouldSerializeStatusBarPanelDefaultBackgroundFill()
Returns
- bool:
true
if the property value has changed from its default; otherwise,false
.
ShouldSerializeStatusBarPanelDefaultBorder()
Indicates whether the StatusBarPanelDefaultBorder property should be persisted.
public virtual bool ShouldSerializeStatusBarPanelDefaultBorder()
Returns
- bool:
true
if the property value has changed from its default; otherwise,false
.
ShouldSerializeStatusBarPanelDefaultDisabledForeColor()
Indicates whether the StatusBarPanelDefaultDisabledForeColor property should be persisted.
public virtual bool ShouldSerializeStatusBarPanelDefaultDisabledForeColor()
Returns
- bool:
true
if the property value has changed from its default; otherwise,false
.
ShouldSerializeStatusBarPanelDefaultForeColor()
Indicates whether the StatusBarPanelDefaultForeColor property should be persisted.
public virtual bool ShouldSerializeStatusBarPanelDefaultForeColor()
Returns
- bool:
true
if the property value has changed from its default; otherwise,false
.
ShouldSerializeStatusBarProgressBarPanelDefaultFilledBackgroundFill()
Indicates whether the StatusBarProgressBarPanelDefaultFilledBackgroundFill property should be persisted.
public virtual bool ShouldSerializeStatusBarProgressBarPanelDefaultFilledBackgroundFill()
Returns
- bool:
true
if the property value has changed from its default; otherwise,false
.
ShouldSerializeStatusBarProgressBarPanelDefaultFilledForeColor()
Indicates whether the StatusBarProgressBarPanelDefaultFilledForeColor property should be persisted.
public virtual bool ShouldSerializeStatusBarProgressBarPanelDefaultFilledForeColor()
Returns
- bool:
true
if the property value has changed from its default; otherwise,false
.
ShouldSerializeStatusBarProgressBarPanelDefaultUnfilledBackgroundFill()
Indicates whether the StatusBarProgressBarPanelDefaultUnfilledBackgroundFill property should be persisted.
public virtual bool ShouldSerializeStatusBarProgressBarPanelDefaultUnfilledBackgroundFill()
Returns
- bool:
true
if the property value has changed from its default; otherwise,false
.
ShouldSerializeStatusBarProgressBarPanelDefaultUnfilledForeColor()
Indicates whether the StatusBarProgressBarPanelDefaultUnfilledForeColor property should be persisted.
public virtual bool ShouldSerializeStatusBarProgressBarPanelDefaultUnfilledForeColor()
Returns
- bool:
true
if the property value has changed from its default; otherwise,false
.
Inherited Members
- StatusBarRenderer.OnSystemUserPreferenceColorChanged()
- StatusBarRenderer.ResetResetAllPropertiesOnSystemColorChange()
- StatusBarRenderer.ShouldSerializeResetAllPropertiesOnSystemColorChange()
- StatusBarRenderer.ResetStatusBarGripperWidth()
- StatusBarRenderer.ShouldSerializeStatusBarGripperWidth()
- StatusBarRenderer.ResetStatusBarPadding()
- StatusBarRenderer.ShouldSerializeStatusBarPadding()
- StatusBarRenderer.ResetStatusBarPanelActiveLinkColor()
- StatusBarRenderer.ShouldSerializeStatusBarPanelActiveLinkColor()
- StatusBarRenderer.ResetStatusBarPanelDefaultFont()
- StatusBarRenderer.ShouldSerializeStatusBarPanelDefaultFont()
- StatusBarRenderer.ResetStatusBarPanelImageDefaultSize()
- StatusBarRenderer.ShouldSerializeStatusBarPanelImageDefaultSize()
- StatusBarRenderer.ResetStatusBarPanelImageTextMargin()
- StatusBarRenderer.ShouldSerializeStatusBarPanelImageTextMargin()
- StatusBarRenderer.ResetStatusBarPanelLinkColor()
- StatusBarRenderer.ShouldSerializeStatusBarPanelLinkColor()
- StatusBarRenderer.ResetStatusBarPanelMargin()
- StatusBarRenderer.ShouldSerializeStatusBarPanelMargin()
- StatusBarRenderer.ResetStatusBarPanelVisitedLinkColor()
- StatusBarRenderer.ShouldSerializeStatusBarPanelVisitedLinkColor()
- StatusBarRenderer.ResetAllPropertiesOnSystemColorChange
- StatusBarRenderer.StatusBarGripperWidth
- StatusBarRenderer.StatusBarPadding
- StatusBarRenderer.StatusBarPanelActiveLinkColor
- StatusBarRenderer.StatusBarPanelDefaultFont
- StatusBarRenderer.StatusBarPanelImageDefaultSize
- StatusBarRenderer.StatusBarPanelImageTextMargin
- StatusBarRenderer.StatusBarPanelLinkColor
- StatusBarRenderer.StatusBarPanelMargin
- StatusBarRenderer.StatusBarPanelVisitedLinkColor
- UIRenderer.Equals(object)
- UIRenderer.GetHashCode()
- UIRenderer.OnColorSchemeChanged()
- UIRenderer.OnPropertyChanged(EventArgs)
- UIRenderer.ColorScheme
- UIRenderer.IsSystemUserPreferenceColorChangeMonitored
- UIRenderer.PropertyChanged
- DisposableObject.Dispose()
- DisposableObject.VerifyNotDisposed()
- DisposableObject.IsDisposed
- DisposableObject.Disposed
- MarshalByRefObject.GetLifetimeService()
- MarshalByRefObject.InitializeLifetimeService()
- MarshalByRefObject.MemberwiseClone(bool)
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object, object)
- object.ReferenceEquals(object, object)