Back to Devexpress

GridControl.SwipeButtonCommand Property

xamarin-devexpress-dot-mobile-dot-datagrid-dot-gridcontrol-df6021cd.md

latest2.0 KB
Original Source

GridControl.SwipeButtonCommand Property

Gets or sets the command executed when a swipe button is tapped. This is a bindable property.

Namespace : DevExpress.Mobile.DataGrid

Assembly : DevExpress.Mobile.Grid.v18.2.dll

Declaration

csharp
public ICommand SwipeButtonCommand { get; set; }
vb
Public Property SwipeButtonCommand As ICommand

Property Value

TypeDescription
ICommand

An object implementing the ICommand interface that defines the command.

|

Remarks

Important

This documentation topic describes legacy technology. We no longer develop new functionality for the GridControl and suggest that you use the new DataGridView control instead.

Along with the SwipeButtonCommand command, GridControl provides you with the GridControl.SwipeButtonClick event. Both (command and event) rise when an end-user clicks any of the swipe buttons. To determine which swipe button was clicked, the SwipeButtonEventArgs object is passed to the event as its argument, and the command - as its parameter.

See Also

SwipeButtonClick

GridControl Class

GridControl Members

DevExpress.Mobile.DataGrid Namespace