GridControl.GetVisibleDetail(Int32) Method
Returns the currently visible detail data control identified by its master row.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v14.2.dll
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
row |
Int32 | An integer value identifying the row by its handle. |
#Returns
Type | Description |
---|---|
Data |
A Data |
#Remarks
When you set up a master-detail hierarchy within a GridControl, you create Detail Descriptor objects which contain settings used to create actual detail controls. While there's a single Detail Descriptor (template) per data relation, there can be multiple detail controls - one per each expanded detail.
The GetVisibleDetail method returns the actual data control that displays detail data for the specified master row. This can be any DataControlBase descendant, but it will typically be a GridControl. Note that the method returns the control only if it's currently visible (resides within an expanded detail).