Represents the base requirements for a highlighting style that is applied to a span of text.
Properties
Background
Gets or sets the background color of the highlighting style.
Property Value
See Also
BackgroundSpansVirtualSpace
Gets or sets a bool indicating whether the background should span virtual space when the styled range includes a line terminator.
Property Value
- bool:
A bool indicating whether the background should span virtual space when the styled range includes a line terminator.
See Also
Bold
Gets or sets a nullable bool indicating whether the highlighting style uses boldface.
Property Value
See Also
BorderColor
Gets or sets the border color of the highlighting style.
Property Value
See Also
BorderCornerKind
Gets or sets a Highlighting
Property Value
- Highlighting
Style :Border Corner Kind A Highlighting
Style indicating the kind of border corners. The default value isBorder Corner Kind Square
.
See Also
BorderKind
Gets or sets a Line
Property Value
See Also
FontFamilyName
Gets or sets the name of the font family to use for drawing text with the highlighting style.
Property Value
- string:
The name of the font family to use for drawing text with the highlighting style.
See Also
FontSize
Gets or sets the size of the font to use for drawing text with the highlighting style.
Property Value
- float:
The size of the font to use for drawing text with the highlighting style. Specify
0
to use a default value, which is the default property value.
See Also
Foreground
Gets or sets the foreground color of the highlighting style.
Property Value
See Also
HasBackground
Gets whether the highlighting style has a background.
HasBorder
Gets whether the highlighting style has a border.
HasDefaultFormatting
Gets whether the highlighting style contains all default values for formatting properties.
Property Value
- bool:
true
if the highlighting style contains all default values for formatting properties; otherwise,false
.
See Also
HasFontChange
Gets whether the highlighting style contains a font-related change.
Property Value
- bool:
true
if the highlighting style contains a font-related change; otherwise,false
.
See Also
HasStrikethrough
Gets whether the highlighting style has a strike-through.
Property Value
- bool:
true
if the highlighting style has a strike-through; otherwise,false
.
See Also
HasUnderline
Gets whether the highlighting style has an underline.
IsBackgroundEditable
Gets whether the Background property is editable in an options dialog.
Property Value
- bool:
true
if the Background property is editable in an options dialog; otherwise,false
. The default value istrue
.
See Also
IsBoldEditable
Gets whether the Bold property is editable in an options dialog.
Property Value
- bool:
true
if the Bold property is editable in an options dialog; otherwise,false
. The default value istrue
.
See Also
IsBorderEditable
Gets whether the Border
Property Value
- bool:
true
if the BorderColor and related properties are editable in an options dialog; otherwise,false
. The default value isfalse
.
See Also
IsForegroundEditable
Gets whether the Foreground property is editable in an options dialog.
Property Value
- bool:
true
if the Foreground property is editable in an options dialog; otherwise,false
. The default value istrue
.
See Also
IsItalicEditable
Gets whether the Italic property is editable in an options dialog.
Property Value
- bool:
true
if the Italic property is editable in an options dialog; otherwise,false
. The default value istrue
.
See Also
Italic
Gets or sets a nullable bool indicating whether the highlighting style uses italics.
Property Value
See Also
StrikethroughColor
Gets or sets the strike-through color of the highlighting style.
Property Value
See Also
StrikethroughKind
Gets or sets a Line
Property Value
See Also
StrikethroughWeight
Gets or sets a Text
Property Value
- Text
Line :Weight A Text
Line indicating the strike-through line weight to use. The default value isWeight Single
.
See Also
Tag
Gets or sets the object that contains user-defined data about the object.
Property Value
Remarks
Any type derived from the object class can be assigned to this property.
See Also
UnderlineColor
Gets or sets the underline color of the highlighting style.
Property Value
See Also
UnderlineKind
Gets or sets a Line
Property Value
See Also
UnderlineWeight
Gets or sets a Text
Property Value
- Text
Line :Weight A Text
Line indicating the underlining line weight to use. The default value isWeight Single
.