GridControl.GetVisibleDetailDescriptor(Int32) Method
Returns the Detail Descriptor corresponding to the currently expanded detail of the specified master row.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v24.2.dll
NuGet Package: DevExpress.Wpf.Grid.Core
#Declaration
public DetailDescriptorBase GetVisibleDetailDescriptor(
int rowHandle
)
#Parameters
Name | Type | Description |
---|---|---|
row |
Int32 | An integer value identifying the master row by its handle. |
#Returns
Type | Description |
---|---|
Detail |
A Detail |
#Remarks
When you set up 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 GetVisibleDetailDescriptor method returns the Detail Descriptor that corresponds to the currently expanded detail.