Skip to main content

LayoutGroup.View Property

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

Namespace: DevExpress.Xpf.LayoutControl

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

NuGet Package: DevExpress.Wpf.LayoutControl

Declaration

public LayoutGroupView View { get; set; }

Property Value

Type Description
LayoutGroupView

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

Available values:

Name Description
Group

A LayoutGroup is represented on-screen without borders or a title. Its items are arranged in a single column or row.

GroupBox

A LayoutGroup is represented on-screen as a group box with borders and a title. Its items are arranged in a single column or row.

Tabs

A LayoutGroup is represented on-screen as a tabbed group.

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the View 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.

See Also