TextSelection PropertiesDocument Toolkit Help

The TextSelection type exposes the following members.

Properties

  NameDescription
Public propertyBackground
Gets or sets the brush used to fill the background of the selected text.
Public propertyEnd
Get the position that marks the end of the text range.
(Inherited from TextRange.)
Public propertyForeground
Gets or sets the brush used to fill the foreground of the selected text.
Public propertyIsCopyAllowed
Gets or sets a value indicating whether copying the text selection to clipboard is allowed
Public propertyIsEmpty
Gets a value indicating whether the text range is empty.
(Inherited from TextRange.)
Public propertyIsEnabled
Gets or sets a value indicating whether text selection is enabled.
Public propertyMax
Gets the larger of the start and end point.
(Inherited from TextRange.)
Public propertyMin
Gets the smaller of the start and end point.
(Inherited from TextRange.)
Public propertyStart
Gets the position that marks the beginning of the text range.
(Inherited from TextRange.)
Public propertyText
Gets the plain text contents of the current selection.
Public propertyTextContainer
Gets or sets the text container for this selection instance.
Top
See Also

Reference