BackgroundStyle Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Defines the kind of view to display the page background. The settings have only effect, if the ViewMode property has been set to PageView.
Syntax
public BackgroundStyle BackgroundStyle { get; set; }Public Property BackgroundStyle As BackgroundStyleMembers
| Value | Description |
|---|---|
| ColorScheme | The page background colors depend on the color scheme currently set through the system or on the colors set with the DisplayColors property. |
| ClassicColors | The page background color is dark gray. |
Examples
The following example uses TextControl.BackgroundStyle to configure background style as part of the text control workflow. The change is then applied to the active document or user interface.
textControl.BackgroundStyle = BackgroundStyle.ColorScheme;
textControl.Update();textControl.BackgroundStyle = BackgroundStyle.ColorScheme
textControl.Update()