RichEditTextRange.Collapse(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Collapses the text range into a degenerate point at either the beginning or end of the range.
public:
virtual void Collapse(bool value) = Collapse;
void Collapse(bool const& value);
public void Collapse(bool value);
function collapse(value)
Public Sub Collapse (value As Boolean)
Parameters
- value
-
Boolean
bool
true to collapse at the start of the text range. false to collapse at the end of the range. The default is true.
Implements
M:Microsoft.UI.Text.ITextRange.Collapse(System.Boolean)
M:Microsoft.UI.Text.ITextRange.Collapse(bool)