Skip to main content
Version: 4.1

StatusBarPanel

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.1.0.0)

Represents a panel in a StatusBar control.

public class StatusBarPanel : BindableComponent

Constructors​

Instance member StatusBarPanel()​

Initializes a new instance of the StatusBarPanel class.

Properties​

Instance member Alignment​

HorizontalAlignment: Returns or sets the alignment of text and icons within the status bar panel. (Default: Left)

Instance member AllowHtml​

Boolean: Returns or sets a value indicating that the control can display html in the Text property. (Default: False)

Instance member AutoSize​

StatusBarPanelAutoSize: Returns or sets whether the status bar panel is automatically resized. (Default: None)

Instance member BorderStyle​

StatusBarPanelBorderStyle: Returns or sets the border style of the status bar panel. (Default: Solid)

Instance member Icon​

Image: Returns or sets the icon to display within the status bar panel.

Instance member IconIndex​

Int32: Returns or sets the index value of the image assigned to the StatusBarPanel. (Default: -1)

Throws:

Instance member IconSource​

String: Returns or sets the theme name or URL for the icon to display in the StatusBarPanel.

Instance member ImageKey​

String: Returns or sets the name of the image assigned to the StatusBarPanel. (Default: "")

Instance member MinWidth​

Int32: Returns or sets the minimum allowed width of the status bar panel within the StatusBar control. (Default: 10)

Throws:

Instance member Name​

String: Returns or sets the name to apply to the StatusBarPanel.

Instance member Padding​

Padding: Returns or sets padding within the statusbar panel.

Instance member Parent​

StatusBar: Returns the StatusBar control that hosts the status bar panel.

Instance member Tag​

Object: Returns or sets an object that contains data about the StatusBarPanel. (Default: null)

Instance member Text​

String: Returns or sets the text of the status bar panel. (Default: "")

When AllowHtml is set to true, the text can contain HTML content. If the text contains new lines (CRLF) but doesn't contain HTML elements (at least one "<") all CRLF are automatically substituted with "<br/>".

Instance member ToolTipText​

String: Returns or sets ToolTip text associated with the status bar panel. (Default: "")

Instance member Width​

Int32: Returns or sets the width of the status bar panel within the StatusBar control. (Default: 100)

Throws:

Methods​

Instance member BeginInit()​

Begins the initialization of a StatusBarPanel.

Protected member Dispose(disposing)​

Disposes the StatusBarPanel and removes it from the StatusBar.

ParameterTypeDescription
disposingBooleantrue when this method is called by the application rather than a finalizer.

Instance member EndInit()​

Ends the initialization of a StatusBarPanel.

Instance member OnClick(e)​

Fires the Click event.

ParameterTypeDescription
eEventArgsAn EventArgs that contains the event data.

Protected member OnWebRender(config)​

Renders the client component.

ParameterTypeDescription
configObjectDynamic configuration object.

Instance member Update()​

Updates the component on the client. Overridden to repaint the parent control in design mode.

Events​

Instance member Click​

EventHandler Fired when the StatusBarPanel is clicked.

Inherited By​

NameDescription
StatusBarControlRepresents a panel in a StatusBar control that can host any Control.

Implements​

NameDescription
IUserDataProvides access to the UserData and Tag properties associated to the component implementing this interface.
IBindableComponentBindable components implement this interface.
IWisejComponentAll wisej components implement this interface.
IWisejSerializableAllows an object to serialize itself.