SalRibbonStatusBar
Namespace: PPJ.Runtime.Windows
Assembly: PPJ.Runtime.50 (5.0.0.0)
Displays SAL status text and keyboard-lock indicators on a ribbon form.
- C#
- VB.NET
public class SalRibbonStatusBar : C1StatusBar, ISalAccessory
Public Class SalRibbonStatusBar
Inherits C1StatusBar
Implements ISalAccessory
Example:
using (var form = new PPJ.Runtime.Windows.SalFormWindow())
{
var accessory = new PPJ.Runtime.Windows.SalRibbonStatusBar();
form.Controls.Add(accessory);
}
Constructors
SalRibbonStatusBar()
Creates the default status-text and keyboard-indicator components.
Properties
Create
Boolean: Gets or sets whether the SAL form creates this accessory. (Default: True)
ShowKeyboardStatus
Boolean: Gets or sets whether the default Caps Lock, Num Lock, and Scroll Lock indicators are displayed. (Default: True)
ShowStatusText
Boolean: Gets or sets whether the default status-text panel is displayed. (Default: True)
Text
String: Gets or sets the text of the default status panel. (Default: "")
Methods
Dispose(disposing)
Disposes the keyboard-status timer before disposing the control.
| Parameter | Type | Description |
|---|---|---|
| disposing | Boolean | True to release managed resources as well as native resources. |
InitializeComponent()
Creates and names the status labels and sets initial visibility and tab-navigation behavior.
OnHandleCreated(e)
Ensures that the configured status panels exist before raising the handle-created event.
| Parameter | Type | Description |
|---|---|---|
| e | EventArgs | The event data. |
OnHandleDestroyed(e)
Stops and disposes the keyboard-status timer before raising the handle-destroyed event.
| Parameter | Type | Description |
|---|---|---|
| e | EventArgs | The event data. |
SetVisibleCore(value)
Applies visibility while keeping an accessory with Create disabled hidden in the designer.
| Parameter | Type | Description |
|---|---|---|
| value | Boolean | True to show the accessory; false to hide it. |
WndProc(m)
Processes native messages while ignoring WM_CLOSE to avoid closing the owning form.
| Parameter | Type | Description |
|---|---|---|
| m | Message | The window message and its result. |
Implements
| Name | Description |
|---|---|
| ISalAccessory | Provides the runtime creation setting and role of a SAL form accessory. |