-api-id | -api-type |
---|---|
M:Microsoft.UI.Text.ITextRange.Collapse(System.Boolean) |
winrt method |
Collapses the text range into a degenerate point at either the beginning or end of the range.
True collapses at the start of the text range, and false collapses at the end of the range. The default value is true.