Skip to main content
Version: 4.1

StatusBar

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.1.0.0)

Displays information to the user in a about the object being viewed, the object's components, or the object's operation.

public class StatusBar : Control

Constructors​

Instance member StatusBar()​

Initializes a new instance of the StatusBar class.

Properties​

Protected member DefaultSize​

Size: Returns the default size of the control.

Value: A Size that represents the size of the control.

Instance member Dock​

DockStyle: Returns or sets the docking behavior of the StatusBar control. (Default: Bottom)

Value: One of the DockStyle values. The default is Bottom.

Instance member PanelCount​

Int32: Returns the number of child panels without forcing the creation of the collection.

Instance member Panels​

StatusBarPanelCollection: Returns the collection of StatusBar panels contained within the control.

Value: A StatusBarPanelCollection containing the StatusBarPanel objects of the StatusBar control.

Instance member ShowPanels​

Boolean: Returns or sets whether any panels that have been added to the control are displayed. (Default: True)

Value: true if panels are displayed; otherwise, false. The default is true.

The StatusBar control displays the value of its Text property without any panels by default. When ShowPanels is set to true, the StatusBarPanel children specified in the StatusBar control are displayed; otherwise they are hidden and the Text is displayed instead.

Instance member SizingGrip​

Boolean: Returns or sets whether a sizing grip is displayed in the lower-right corner of the control. (Default: True)

Value: true if a sizing grip is displayed; otherwise, false. The default is true.

Instance member TabStop​

Boolean: Returns or sets whether the user can give the focus to this control using the TAB key and the Focusable property is set to true. (Default: False)

Value: True if the control can receive the focus using the TAB key. The default is false.

Instance member Text​

String: Returns or sets the text displayed in the StatusBar control when if doesn't contain any StatusBarPanel or when ShowPanels is false. (Default: "")

Value: The text to display in the StatusBar control.

The text assigned to the StatusBar is displayed only if it doesn't contain any StatusBarPanel or if the property ShowPanels is false.

Instance member TextAlign​

HorizontalAlignment: Returns or sets how text is aligned in a StatusBar control. (Default: Left)

Value: One of the HorizontalAlignment enumeration values that specifies how text is aligned in the control. The default is HorizontalAlignment.Left.

Methods​

Protected member Dispose(disposing)​

Disposes of the resources (other than memory) used by the StatusBar.

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

Protected member OnAddReferences(items)​

Returns a collection of referenced components or collection of components.

ParameterTypeDescription
itemsIList

Protected member OnBindingContextChanged(e)​

Fires the BindingContextChanged event.

ParameterTypeDescription
eEventArgsAn EventArgs that contains the event data.

Protected member OnPanelClick(e)​

Fires the OnPanelClick event.

ParameterTypeDescription
eStatusBarPanelClickEventArgsA StatusBarPanelClickEventArgs that contains the event data.

Protected member OnWebEvent(e)​

Processes the event from the client.

ParameterTypeDescription
eWisejEventArgsEvent arguments.

Protected member OnWebRender(config)​

Renders the client component.

ParameterTypeDescription
configObjectDynamic configuration object.

Events​

Instance member PanelClick​

StatusBarPanelClickEventHandler Fired when a StatusBarPanel object on a StatusBar control is clicked.

Implements​

NameDescription
IUserDataProvides access to the UserData and Tag properties associated to the component implementing this interface.
IBindableComponentBindable components implement this interface.
IDropTargetControls that support drag & drop operations implement this interface.
IWisejComponentAll wisej components implement this interface.
IWisejControlAll wisej controls derived from the Control class must implement this interface.
IWisejSerializableAllows an object to serialize itself.