Skip to main content

TreeListView.RowIndicatorContentTemplate Property

Gets or sets the template that defines a row indicator‘s appearance. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

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

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public DataTemplate RowIndicatorContentTemplate { get; set; }

Property Value

Type Description
DataTemplate

A DataTemplate object that defines the presentation of row indicators.

Remarks

The Row Indicator Panel specifies a region displayed at the left edge of a TreeList View. The panel contains row indicator cells corresponding to the different View sections (the column header panel, nodes, the view footer, etc). The cell relating to the focused node indicates the node state (whether it is in edit mode, has been modified, etc). Use the RowIndicatorContentTemplate property, to define a custom presentation of contents displayed within row indicator cells.

RowIndicatorPanel

The template’s data context is a TreeListRowData object.

Use the following binding paths to access cell values and ViewModel properties:

  • Row.[YourPropertyName] - access a property of an object in the ItemsSource collection;
  • DataContext.[FieldName] - access a column value;
  • View.DataContext.[YourPropertyName] - access a property in a grid’s ViewModel.

View Example: Build Binding Paths in WPF Data Grid Rows

See Also