AllowTapRangeSelection Property
Gets or sets a value indicating whether tap-to-select range mode is enabled. When enabled, users can tap a start date and then tap an end date to select a range.
Definition
Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
public bool AllowTapRangeSelection { get; set; }
Public Property AllowTapRangeSelection As Boolean
Get
Set
member AllowTapRangeSelection : bool with get, set
Property Value
Boolean
True to enable tap range selection; otherwise, false. The default is false.
Remarks
This feature only works when SelectionMode is set to SingleRange. When enabled, the first tap selects the start date, and the second tap selects the end date to complete the range. Tapping a third date starts a new range.