LayoutGroup.View Property

Gets or sets the LayoutGroup's visual style. This is a dependency property.

Namespace: DevExpress.Xpf.LayoutControl

Assembly: DevExpress.Xpf.LayoutControl.v20.1.dll

Declaration

public LayoutGroupView View { get; set; }
Public Property View As LayoutGroupView

Property Value

Type Description
LayoutGroupView

A LayoutGroupView value that specifies how the LayoutGroup is represented on-screen.

Remarks

To allow borders and a caption (LayoutGroup.Header) for a LayoutGroup object, set the View property to LayoutGroupView.GroupBox.

To represent a group as a tabbed group, set the View property to LayoutGroupView.Tabs. As a result, the group's children will be represented as tabs.

NOTE

In the LayoutGroupView.Tabs mode, the LayoutControl sets the IsEnabled property for elements located within an inactive tab in a tabbed group to False. After the previously inactive tab is selected, the IsEnabled property value is restored.

The LayoutControl.TabHeader attached property allows you to specify tab headers for any child represented as a tab within a tabbed group. For a LayoutGroup represented as a tab, the tab header displays either the LayoutControl.TabHeader or LayoutGroup.Header object (if LayoutControl.TabHeader is not set).

NOTE

The View property is not supported by the LayoutControl class.

See Also