点击或拖拽改变大小

CssRect 属性

CssRect 类型公开以下成员。

属性
  名称说明
公共属性ActualWordSpacing
Gets the actual width of whitespace between words.
公共属性Bottom
Gets or sets the bottom of the rectangle. When setting, it only affects the Height of the rectangle.
公共属性FullWidth
Get the full width of the word including the spacing.
公共属性HasSpaceAfter
was there a whitespace after the word chars (before trim)
公共属性HasSpaceBefore
was there a whitespace before the word chars (before trim)
公共属性Height
Height of the rectangle
公共属性Image
Gets the image this words represents (if one exists)
公共属性IsImage
Gets if the word represents an image.
公共属性IsLineBreak
Gets if the word is composed by only a line break
公共属性IsSpaces
Gets a bool indicating if this word is composed only by spaces. Spaces include tabs and line breaks 获取一个布尔值,该值指示是否这个词仅由空格组成。空间包括制表符和换行符
公共属性Left
Left of the rectangle
公共属性OwnerBox
Gets the Box where this word belongs.
公共属性Rectangle
Gets or sets the bounds of the rectangle
公共属性Right
Gets or sets the right of the rectangle. When setting, it only affects the Width of the rectangle.
公共属性Selected
is the word is currently selected
公共属性SelectedEndIndexOffset
the selection end index if the word is partially selected (-1 if not selected or fully selected)
公共属性SelectedEndOffset
the selection end offset if the word is partially selected (-1 if not selected or fully selected)
公共属性SelectedStartIndex
the selection start index if the word is partially selected (-1 if not selected or fully selected)
公共属性SelectedStartOffset
the selection start offset if the word is partially selected (-1 if not selected or fully selected)
公共属性Selection
If the word is selected this points to the selection handler for more data
公共属性Text
Gets the text of the word
公共属性Top
Top of the rectangle
公共属性Width
Width of the rectangle
Top
参见