GridControl.IsMasterRowExpanded(Int32, DetailDescriptorBase) Method
Determines the specified master row's expanded state and, optionally, the specified Detail's visibility.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v14.2.dll
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
row |
Int32 | An integer value specifying the master row by its value. If an invalid row handle is specified, the method returns false. |
#Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
descriptor | Detail |
null |
Optional. A Detail |
#Returns
Type | Description |
---|---|
Boolean | true if the specified master row is expanded and the specified detail is visible; otherwise, false. |
#Remarks
To change a master row's expanded state or switch between available Details, use the following methods: GridControl.ExpandMasterRow, GridControl.CollapseMasterRow, GridControl.SetMasterRowExpanded.