TableView.AllowMasterDetail Property
Gets or sets whether end-users can access this View’s details.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v18.2.dll
Declaration
Property Value
Type | Description |
---|---|
Boolean | true to allow end-users access detail views; otherwise, false. |
Remarks
Set the AllowMasterDetail property to false to temporarily disable all Details for this particular view. Note that this view can still take part in the master-detail hierarchy as a Detail, but it will not allow any Master View functionality.
If you want to simply hide expand buttons displayed within master rows, use the TableView.ShowDetailButtons option instead.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AllowMasterDetail property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.