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.v20.1.dll

Declaration

public DetailDescriptorBase GetVisibleDetailDescriptor(
    int rowHandle
)
Public Function GetVisibleDetailDescriptor(
    rowHandle As Integer
) As DetailDescriptorBase

Parameters

Name Type Description
rowHandle Int32

An integer value identifying the master row by its handle.

Returns

Type Description
DetailDescriptorBase

A DetailDescriptorBase object representing the Detail Descriptor of the currently expanded 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.

See Also