Back to Devexpress

GridControl.GetVisibleDetailDescriptor(Int32) Method

wpf-devexpress-dot-xpf-dot-grid-dot-gridcontrol-dot-getvisibledetaildescriptor-x28-system-dot-int32-x29.md

latest2.2 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

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

Parameters

NameTypeDescription
rowHandleInt32

An integer value identifying the master row by its handle.

|

Returns

TypeDescription
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

GetDetail(Int32, DataControlDetailDescriptor)

GetVisibleDetail(Int32)

GridControl Class

GridControl Members

DevExpress.Xpf.Grid Namespace