Skip to main content

DevExpress v24.1 Update — Your Feedback Matters

Our What's New in v24.1 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

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.v24.1.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