CssRect
Represents a word inside an inline box
Konstruktoren
Eigenschaften
ActualWordSpacing : double
Gets the actual width of whitespace between words.
Bottom : double
Gets or sets the bottom of the rectangle. When setting, it only affects the Height of the rectangle.
HasSpaceAfter : bool
was there a whitespace after the word chars (before trim)
HasSpaceBefore : bool
was there a whitespace before the word chars (before trim)
IsLineBreak : bool
Gets if the word is composed by only a line break
IsSpaces : bool
Gets a bool indicating if this word is composed only by spaces. Spaces include tabs and line breaks
LeftGlyphPadding : double
Gets or sets an offset to be considered in measurements
Right : double
Gets or sets the right of the rectangle. When setting, it only affects the Width of the rectangle.
SelectedEndIndexOffset : int
the selection end index if the word is partially selected (-1 if not selected or fully selected)
SelectedEndOffset : double
the selection end offset if the word is partially selected (-1 if not selected or fully selected)
SelectedStartIndex : int
the selection start index if the word is partially selected (-1 if not selected or fully selected)
SelectedStartOffset : double
the selection start offset if the word is partially selected (-1 if not selected or fully selected)
Selection : SelectionHandler
If the word is selected this points to the selection handler for more data
Methoden
Felder
_selection : SelectionHandler
If the word is selected this points to the selection handler for more data