TXTextControl.TextControl.Colors Class

The TextControl.Colors class gets, sets or resets the display colors of a Windows Forms TextControl control. By default the display colors depend on sytem colors. With this class all colors can be individually designed. The colors are only used when the text control's BackgroundStyle property has been set to ColorScheme.

Introduced: 15.1.

Syntax

[C#]
public class TextControl.Colors
[Visual Basic]
Public Class TextControl.Colors

Constructors

Constructor Description
Colors Initializes a new instance of the TextControl.Colors class.

Properties

Property Description
DarkShadowColor Gets or sets the display color for the shadow at the right and the bottom edge of the pages.
DesktopColor Gets or sets the display color for the area around the pages.
HeaderFooterLabelColor Gets or sets the display color for the label showing which header or footer is activated.
HeaderFooterLineColor Gets or sets the display color for the dividing line between headers and footers and the main text.
LightShadowColor Gets or sets the display color for the shadow at the left and the top edge of the pages.

Methods

Method Description
ResetDarkShadowColor Resets the text control's DarkShadowColor to its system dependent default value.
ResetDesktopColor Resets the text control's DesktopColor to its system dependent default value.
ResetHeaderFooterLabelColor Resets the text control's HeaderFooterLabelColor to its system dependent default value.
ResetHeaderFooterLineColor Resets the text control's HeaderFooterLineColor to its system dependent default value.
ResetLightShadowColor Resets the text control's LightShadowColor to its system dependent default value.

See Also