DetailExpandButtonMode Enum
Lists the values that specify whether master-detail expand buttons are displayed grayed out when their associated details don’t contain any data.
Namespace: DevExpress.XtraGrid.Views.Grid
Assembly: DevExpress.XtraGrid.v17.2.dll
Declaration
Members
Name | Description |
---|---|
Default | The same as the DetailExpandButtonMode.CheckDefaultDetail option. |
AlwaysEnabled | Master-detail expand buttons are always displayed in black. |
CheckDefaultDetail | Display master-detail expand buttons as grayed out if the default detail is empty. The default detail is identified by the GridView.DefaultRelationIndex property |
CheckAllDetails | Display master-detail expand buttons as grayed out if all details in the data source corresponding to a master row are empty. All details in the data source are checked, not only the details displayed by the Grid Control (see GridControl.ShowOnlyPredefinedDetails). |
Related API Members
The following properties accept/return DetailExpandButtonMode values:
Remarks
The values listed by this enumeration are used to set the GridOptionsDetail.SmartDetailExpandButtonMode property.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the DetailExpandButtonMode enum.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.