Skip to main content

TableView.GroupRowCheckBoxFieldName Property

Gets or sets the name of a field in a data source to which the group row’s check-box is bound.

Namespace: DevExpress.Xpf.Grid

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

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public string GroupRowCheckBoxFieldName { get; set; }

Property Value

Type Description
String

The name of a field to which the group row’s check-box is bound.

Remarks

Note

The GroupRowCheckBoxFieldName property works for boolean fields only.

The following code sample shows how to display a check-box corresponding to the HasAttachment field in the group row:

<dxg:GridControl>
    <dxg:GridControl.View>
        <dxg:TableView GroupRowCheckBoxFieldName="HasAttachment" />
    </dxg:GridControl.View>
    <dxg:GridControl.Columns>
        <!-- ... -->
        <dxg:GridColumn FieldName="HasAttachment" />
    </dxg:GridControl.Columns>    
</dxg:GridControl> 

If Selector Column and group row check boxes are enabled, the GridControl displays check boxes defined by the GroupRowCheckBoxFieldName property in group rows.

Note

The GridControl does not raise the following events when a user changes the state of the group row check box:

See Also