Dashboard Layout

WinForms and Web Designers provide the capability to arrange and resize dashboard items and groups in various ways, using simple drag-and-drop operations. You can also arrange and resize dashboard items using an API provided by the Dashboard class.

Layout_ItemsLayoutMain

Layout Concepts

The dashboard arranges dashboard items and groups using layout items and layout groups. They are special containers that are used to present a dashboard layout as a hierarchical structure.

  • A layout item is used as a container that displays an individual dashboard item.

    In code, a layout item is represented by the DashboardLayoutItem class.

  • A layout group is used as a container that is used to arrange layout items (or other layout groups) either horizontally or vertically. At the same time, layout groups are used as containers that display dashboard item groups.

    In code, a layout group is represented by the DashboardLayoutGroup class.

Thus, a dashboard layout is hierarchically arranged from the root layout group to bottommost layout items, which display individual dashboard items.

DashboardLayoutHierarchy

The Dashboard class exposes the Dashboard.LayoutRoot property, which provides access to the root dashboard layout group.

Use the DashboardLayoutGroup.ChildNodes property to add child layout groups and items to the parent group (in particular, to the root group). The DashboardLayoutGroup.Orientation property allows you to specify whether the orientation of layout items/groups within the group is vertical or horizontal.

You can determine the immediate parent of the current layout item/group using the DashboardLayoutNode.Parent property. To determine the root (or topmost) group for a layout item/group, use the DashboardLayoutNode.Root property.

How to Change Layout

These topics describe how to specify a dashboard layout in the WinForms and Web Designers.