Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TreeListView.EditFormCaptionBinding Property

Gets or sets the binding that allows you to define the edit form caption.

Namespace: DevExpress.Xpf.Grid

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

NuGet Package: DevExpress.Wpf.Grid.Core

#Declaration

public BindingBase EditFormCaptionBinding { get; set; }

#Property Value

Type Description
BindingBase

A BindingBase descendant that defines the edit form caption.

#Remarks

When the grid’s edit form is in dialog mode, it can display a caption. Use the EditFormCaptionBinding property to configure the edit dialog caption. The DataContext for this binding is the RowData object that represents the row that is being edited.

The following example demonstrates the grid control that displays a hierarchical list. The edit dialog caption contains the name of the selected employee.

class ViewModel {
    public ViewModel() {
        Employees = Employee.GetEmployees();
    }
    public List<Employee> Employees { get; set; }
}
See Also