IStatusBarRenderer Interface
Provides the base requirements for a StatusBar control renderer.
[TypeConverter(typeof(GenericExpandableNullableObjectConverter))]
public interface IStatusBarRenderer : IUIRenderer
Properties
StatusBarGripperWidth
The width of a statusbar gripper.
StatusBarPadding
The padding inside of a statusbar.
StatusBarPanelDefaultFont
The default Font to use when drawing statusbar panel text.
Font? StatusBarPanelDefaultFont { get; }
Property Value
Remarks
When null, text may not be rendered or a default system font may be used.
StatusBarPanelImageDefaultSize
The default size of a statusbar panel image, which is used when sizing to fit.
StatusBarPanelImageTextMargin
The margin between statusbar panel images and their text.
StatusBarPanelMargin
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. |