StatusBarPanel

Wisej.Web.StatusBarPanel

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Represents a panel in a StatusBar control.

public class StatusBarPanel : BindableComponent

Constructors

StatusBarPanel()

Initializes a new instance of the StatusBarPanel class.

Properties

Alignment

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

AllowHtml

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

AutoSize

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

BorderStyle

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

Icon

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

IconIndex

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

Throws:

IconSource

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

ImageKey

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

MinWidth

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

Throws:

Name

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

Padding

Padding: Returns or sets padding within the statusbar panel.

Parent

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

Tag

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

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/>".

ToolTipText

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

Width

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

Throws:

Methods

BeginInit()

Begins the initialization of a StatusBarPanel.

Dispose(disposing)

Disposes the StatusBarPanel and removes it from the StatusBar.

Parameter
Type
Description

disposing

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

EndInit()

Ends the initialization of a StatusBarPanel.

OnClick(e)

Fires the Click event.

Parameter
Type
Description

e

An EventArgs that contains the event data.

OnWebRender(config)

Renders the client component.

Parameter
Type
Description

config

Dynamic configuration object.

Update()

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

Events

Click

EventHandler Fired when the StatusBarPanel is clicked.

Inherited By

Name
Description

Represents a panel in a StatusBar control that can host any Control.

Implements

Name
Description

Provides access to the UserData and Tag properties associated to the component implementing this interface.

Bindable components implement this interface.

All wisej components implement this interface.

Allows an object to serialize itself.

Last updated

Was this helpful?