| StatusBarTextProviderApplicationStatusBar Property |
This is used to set or get the default status bar component to use
for displaying the status bar text messages.
Namespace: SandcastleBuilder.Utils.ControlsAssembly: SandcastleBuilder.Utils (in SandcastleBuilder.Utils.dll) Version: 2014.11.22.0
Syntax public static Object ApplicationStatusBar { get; set; }
Public Shared Property ApplicationStatusBar As Object
Get
Set
public:
static property Object^ ApplicationStatusBar {
Object^ get ();
void set (Object^ value);
}
static member ApplicationStatusBar : Object with get, set
Property Value
Type:
ObjectThis property is static and must be set at some point
during application initialization. This component will be used
unless the
InstanceStatusBar property is set to
override it.
Exceptions Exception | Condition |
---|
ArgumentException | This is thrown if the object
is not a status bar control or a tool strip item. |
Examples
Public Sub New()
MyBase.New()
InitializeComponent()
StatusBarTextProvider.ApplicationStatusBar = sbStatusBar;
StatusBarTextProvider.ApplicationDisplayPanel = 1;
StatusBarTextProvider.ApplicationStatusBar = tslStatusText;
StatusBarTextProvider.StatusLabel = tslProgressNote;
StatusBarTextProvider.ProgressBar = tspbProgressBar;
End Sub
public MainForm()
{
InitializeComponent();
StatusBarTextProvider.ApplicationStatusBar = sbStatusBar;
StatusBarTextProvider.ApplicationDisplayPanel = 1;
StatusBarTextProvider.ApplicationStatusBar = tslStatusText;
StatusBarTextProvider.StatusLabel = tslProgressNote;
StatusBarTextProvider.ProgressBar = tspbProgressBar;
}
See Also