In This Article

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.

int StatusBarGripperWidth { get; }

Property Value

int

StatusBarPadding

The padding inside of a statusbar.

Padding StatusBarPadding { get; }

Property Value

Padding

StatusBarPanelDefaultFont

The default Font to use when drawing statusbar panel text.

Font? StatusBarPanelDefaultFont { get; }

Property Value

Font

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.

Size StatusBarPanelImageDefaultSize { get; }

Property Value

Size

StatusBarPanelImageTextMargin

The margin between statusbar panel images and their text.

int StatusBarPanelImageTextMargin { get; }

Property Value

int

StatusBarPanelMargin

The margin between statusbar panels.

int StatusBarPanelMargin { get; }

Property Value

int

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)

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.

Inherited Members

Extension Methods