In This Article

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.

int StatusBarGripperWidth { get; }

Property Value

int:

The width of a statusbar gripper.

StatusBarPadding

Gets the padding inside of a statusbar.

Padding StatusBarPadding { get; }

Property Value

Padding:

The padding inside of a statusbar.

StatusBarPanelDefaultFont

Gets the default Font to use when drawing statusbar panel text.

Font StatusBarPanelDefaultFont { get; }

Property Value

Font:

The default Font to use when drawing statusbar panel text.

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.

int StatusBarPanelMargin { get; }

Property Value

int:

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)

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