Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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
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