Skip to main content

CommitDeselect Method

If RangesEnabled, removes the specified range from the selection.

Definition​

Namespace: Avalonia.Controls.Selection
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

protected int CommitDeselect(
int begin,
int end
)

Parameters​

  Int32
The inclusive index of the start of the range to deselect.
  Int32
The inclusive index of the end of the range to deselect.

Return Value​

Int32
The number of items selected.

See Also​

Reference​

SelectionNodeBase(T) Class
Avalonia.Controls.Selection Namespace