Back to Devexpress

DialogEditFormBehavior.RowDoubleClickCommand Property

wpf-devexpress-dot-xpf-dot-grid-dot-dialogeditformbehavior-a98db14e.md

latest3.4 KB
Original Source

DialogEditFormBehavior.RowDoubleClickCommand Property

Executes the CreateCommand or UpdateCommand depending on the selected row. This command is designed to allow you to bind it to the TableView.RowDoubleClickCommand / TreeListView.RowDoubleClickCommand.

Namespace : DevExpress.Xpf.Grid

Assembly : DevExpress.Xpf.Grid.v25.2.Extensions.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public ICommand<RowClickArgs> RowDoubleClickCommand { get; }
vb
Public ReadOnly Property RowDoubleClickCommand As ICommand(Of RowClickArgs)

Property Value

TypeDescription
ICommand<RowClickArgs>

A command that you can bind to the TableView.RowDoubleClickCommand / TreeListView.RowDoubleClickCommand.

|

The following code snippets (auto-collected from DevExpress Examples) contain references to the RowDoubleClickCommand property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-data-grid-implement-crud-operations/CS/CodeBehind/EntityFramework/InstantFeedbackMode/MainWindow.xaml#L27

xml
<dxg:TableView ShowFixedTotalSummary="True" DataSourceRefresh="OnDataSourceRefresh"
                   RowDoubleClickCommand="{Binding RowDoubleClickCommand, ElementName=EditFormBehavior}" NavigationStyle="Row" />
</dxg:GridControl.View>

wpf-data-grid-extend-crud-operations/CS/DetailCollectionEditing/MainWindow.xaml#L22

xml
<dxg:GridControl.View>
    <dxg:TableView RowDoubleClickCommand="{Binding RowDoubleClickCommand, ElementName=EditFormBehavior}" NavigationStyle="Row" ValidateRowDeletionCommand="{Binding ValidateRowDeletionCommand}" DataSourceRefreshCommand="{Binding DataSourceRefreshCommand}" ShowFixedTotalSummary="True" />
</dxg:GridControl.View>

See Also

DialogEditFormBehavior Class

DialogEditFormBehavior Members

DevExpress.Xpf.Grid Namespace