Colors Constructor
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Initializes a new instance of the StatusBar.Colors class. After creating the object with this constuctor, individual colors can be set. If the Colors object is assigned to the StatusBar.DisplayColors property, non-set colors are reset to their system dependent default values.
Syntax
public Colors();Public Sub New()Examples
The following example creates a Colors instance and configures its fore color setting for a document workflow.
StatusBar.Colors colors = new();
colors.ForeColor = System.Drawing.Color.LightSteelBlue;Dim colors As New StatusBar.Colors()
colors.ForeColor = System.Drawing.Color.LightSteelBlue