<< Click to display table of contents >> TRVStyle.TextBackgroundKind |
Defines visual appearance of text background in TRichView components.
type
TRVTextBackgroundKind = (rvtbkSimple, rvtbkItems, rvtbkLines);
property TextBackgroundKind: TRVTextBackgroundKind;
(introduced in v14)
Selection Style |
Background is drawn... |
Background height = |
---|---|---|
rvtbkItems |
before text |
item height |
rvtbkSimple |
together with text |
item height |
rvtbkLines |
before text |
line height |
Example:
rvtbkSimple is not recommended, because the item text may be overlapped by a background of the next item, especially for italic fonts (see the red line in the example above).
If MainRVStyle is assigned, this property provides access to the corresponding property of MainRVStyle.
Default value:
rvtbkItems
See also:
See also properties of text style: