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.
- C#
- VB.NET
public class StatusBar : Control
Public Class StatusBar
Inherits Control
Constructors
StatusBar()
Initializes a new instance of the StatusBar class.
Properties
DefaultSize
Size: Returns the default size of the control.
Dock
DockStyle: Returns or sets the docking behavior of the StatusBar control. (Default: Bottom)
PanelCount
Int32: Returns the number of child panels without forcing the creation of the collection.
Panels
StatusBarPanelCollection: Returns the collection of StatusBar panels contained within the control.
ShowPanels
Boolean: Returns or sets whether any panels that have been added to the control are displayed. (Default: 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.
SizingGrip
Boolean: Returns or sets whether a sizing grip is displayed in the lower-right corner of the control. (Default: True)
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: "")
The text assigned to the StatusBar is displayed only if it doesn't contain any StatusBarPanel or if the property ShowPanels is false.
TextAlign
HorizontalAlignment: Returns or sets how text is aligned in a StatusBar control. (Default: Left)
Methods
Dispose(disposing)
Disposes of the resources (other than memory) used by the StatusBar.
| Parameter | Type | Description |
|---|---|---|
| disposing | Boolean | true when this method is called by the application rather than a finalizer. |
OnAddReferences(items)
Returns a collection of referenced components or collection of components.
| Parameter | Type | Description |
|---|---|---|
| items | IList |
OnBindingContextChanged(e)
Fires the BindingContextChanged event.
| Parameter | Type | Description |
|---|---|---|
| e | EventArgs | An EventArgs that contains the event data. |
OnPanelClick(e)
Fires the OnPanelClick event.
| Parameter | Type | Description |
|---|---|---|
| e | StatusBarPanelClickEventArgs | A StatusBarPanelClickEventArgs that contains the event data. |
OnWebEvent(e)
Processes the event from the client.
| Parameter | Type | Description |
|---|---|---|
| e | WisejEventArgs | Event arguments. |
OnWebRender(config)
Renders the client component.
| Parameter | Type | Description |
|---|---|---|
| config | Object | Dynamic configuration object. |
Events
PanelClick
StatusBarPanelClickEventHandler Fired when a StatusBarPanel object on a StatusBar control is clicked.
Implements
| Name | Description |
|---|---|
| IUserData | Provides access to the UserData and Tag properties associated to the component implementing this interface. |
| IBindableComponent | Bindable components implement this interface. |
| IDropTarget | Controls that support drag & drop operations implement this interface. |
| IWisejComponent | All wisej components implement this interface. |
| IWisejControl | All wisej controls derived from the Control class must implement this interface. |
| IWisejSerializable | Allows an object to serialize itself. |