Back to Devexpress

TableView.AllowMasterDetail Property

wpf-devexpress-dot-xpf-dot-grid-dot-tableview-af321ff0.md

latest1.5 KB
Original Source

TableView.AllowMasterDetail Property

Gets or sets whether end-users can access this View’s details.

Namespace : DevExpress.Xpf.Grid

Assembly : DevExpress.Xpf.Grid.v25.2.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public bool AllowMasterDetail { get; set; }
vb
Public Property AllowMasterDetail As Boolean

Property Value

TypeDescription
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 hide expand buttons displayed within master rows, use the TableView.ShowDetailButtons option instead.

See Also

ShowDetailButtons

TableView Class

TableView Members

DevExpress.Xpf.Grid Namespace