EditBase.DoubleTap Event
Fires when the user double taps the editor.
Namespace: DevExpress.XamarinForms.Editors
Assembly: DevExpress.XamarinForms.Editors.dll
NuGet Package: DevExpress.XamarinForms.Editors
Declaration
public event HandledEventHandler DoubleTap
Event Data
The DoubleTap event's data class is HandledEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Handled | Gets or sets a value that indicates whether the event handler has completely handled the event or whether the system should continue its own processing. |
Remarks
Editors raise the following events on user interaction:
- Tap - Fires when the user taps the editor.
DoubleTap
- Fires when the user double taps the editor.- LongPress - Fires when the user presses and holds the editor.
Example
The following XAML assigns handlers to the Tap, DoubleTap
, and LongPress events:
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:dxe="http://schemas.devexpress.com/xamarin/2014/forms/editors"
x:Class="App1.MainPage">
<StackLayout>
<dxe:TextEdit Tap="TextEdit_Tap"
DoubleTap="TextEdit_DoubleTap"
LongPress="TextEdit_LongPress"/>
</StackLayout>
</ContentPage>
See Also