Back to Devexpress

TreeListView.ShowEditFormUpdateCancelButtons Property

wpf-devexpress-dot-xpf-dot-grid-dot-treelistview-82691523.md

latest1.9 KB
Original Source

TreeListView.ShowEditFormUpdateCancelButtons Property

Specifies whether the Edit Form should display the Update and Cancel buttons. This is a dependency property.

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public bool ShowEditFormUpdateCancelButtons { get; set; }
vb
Public Property ShowEditFormUpdateCancelButtons As Boolean

Property Value

TypeDescription
Boolean

true to display Update and Cancel buttons; otherwise, false.

|

Remarks

If the ShowEditFormUpdateCancelButtons property is set to false, users can press the CTRL+ENTER key combination to save changes and the ESC key to discard them.

If the TreeListView.EditFormShowMode property is set to Dialog, the ShowEditFormUpdateCancelButtons property has no effect. In this instance, you can define a custom TreeListView.EditFormDialogServiceTemplate and use the ThemedWindowOptions.UseCustomDialogFooter property to hide Update and Cancel buttons.

See Also

TreeListView Class

TreeListView Members

DevExpress.Xpf.Grid Namespace