Class StatusBar
Represents a status bar control.
[ControlCategory("MenusAndToolbars")]
public class StatusBar : FrameworkElement, IBaseObject, IDisposableObject, IDisposable
- Inheritance
-
StatusBar
- Implements
Constructors
- StatusBar()
Initializes a new instance of the StatusBar class.
Properties
- AttachedTo
Gets control to which this status bar is attached.
- Handler
Gets handler for the control.
- IgnorePanels
Gets or sets whether to ignore Panels.
- InUpdates
Gets whether control is performing updates.
- IsOk
Gets whether control is fully active and is attached to the window.
- Panels
Gets a collection of StatusBarPanel objects associated with the control.
- SizingGripVisible
Gets or sets a value indicating whether a sizing grip is displayed in the lower-right corner of the control.
- Text
Gets or sets text of the first status bar panel.
- TextEllipsize
Gets or sets status texts replacement method when the text widths exceed the container's widths.
Methods
- Add(string)
Adds new item to Panels.
- ApplyPanels()
Applies Panels to the native control.
- ApplyPanels(Collection<StatusBarPanel>)
Appllies
panels
to the native control.
- BeginUpdate()
Maintains performance while performing slow operations on a control by preventing the control from drawing until the EndUpdate() method is called.
- EndUpdate()
Resumes painting the control after painting is suspended by the BeginUpdate() method.
- GetBorderX()
Gets the horizontal border used when rendering the panel text inside the panel area.
- GetBorderY()
Gets the vertical border used when rendering the panel text inside the panel area.
- GetFieldRect(int)
Gets the size and position of a panels's internal bounding rectangle in the native control.
- GetFieldsCount()
Returns number of the panels in the native control.
- GetStatusStyle(int)
Gets the style of the specified panel in the native control.
- GetStatusText(int)
Gets the status text for the specified panel in the native control.
- GetStatusWidth(int)
Gets the width of the specified panel in the native control.
- PopStatusText(int)
Restores the text to the value it had before the last call to PushStatusText(string?, int).
- PushStatusText(string?, int)
Saves the current status text in a per-panel stack, and sets the status text to the string passed as argument.
- SetFieldsCount(int)
Sets the number of panels in the native control.
- SetMinHeight(int)
Sets the minimal possible height for the status bar.
- SetStatusStyles(StatusBarPanelStyle[])
Sets the styles of the panels in the status line which can make panels appear flat or raised instead of the standard sunken 3D border.
- SetStatusText(string?, int)
Sets the status text for the specified panel in the native control.
- SetStatusWidths(int[])
Sets the widths of the panels in the native control.
- SetText(string?)
Gets or sets text of the first status bar panel. Same as Text property but implemented as method.