RichEditTextRange.Collapse(Boolean) Method

Definition

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:Windows.UI.Text.ITextRange.Collapse(System.Boolean) M:Windows.UI.Text.ITextRange.Collapse(bool)

Applies to