IStatusBarRenderer Interface
Provides the base requirements for a StatusBar control renderer.
[TypeConverter(typeof(GenericExpandableNullableObjectConverter))]
public interface IStatusBarRenderer : IUIRenderer
Properties
StatusBarGripperWidth
Gets the width of a statusbar gripper.
StatusBarPadding
Gets the padding inside of a statusbar.
StatusBarPanelDefaultFont
Gets the default Font to use when drawing statusbar panel text.
Font StatusBarPanelDefaultFont { get; }
Property Value
StatusBarPanelImageDefaultSize
Gets the default size of a statusbar panel image, which is used when sizing to fit.
Size StatusBarPanelImageDefaultSize { get; }
Property Value
- Size:
The default size of a statusbar panel image, which is used when sizing to fit.
StatusBarPanelImageTextMargin
Gets the margin between statusbar panel images and their text.
int StatusBarPanelImageTextMargin { get; }
Property Value
- int:
The margin between statusbar panel images and their text.
StatusBarPanelMargin
Gets the margin between statusbar panels.
Methods
DrawStatusBarBackground(PaintEventArgs, Rectangle, StatusBar)
Draws the background of a StatusBar control.
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.
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.
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.
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. |