GridOptionsDetail.SmartDetailExpandButtonMode Property
Gets or sets a value which specifies the manner in which master-detail expand buttons are painted.
Namespace: DevExpress.XtraGrid.Views.Grid
Assembly: DevExpress.XtraGrid.v24.2.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
#Declaration
[DefaultValue(DetailExpandButtonMode.Default)]
[XtraSerializableProperty]
public virtual DetailExpandButtonMode SmartDetailExpandButtonMode { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Detail |
Default | A Detail |
Available values:
Name | Description |
---|---|
Default | The same as the Detail |
Always |
Master-detail expand buttons are always displayed in black. |
Check |
Display master-detail expand buttons as grayed out if the default detail is empty. The default detail is identified by the Grid |
Check |
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 Grid |
#Property Paths
You can access this nested property as listed below:
Object Type | Path to Smart |
---|---|
Grid |
|