dashboard-devexpress-dot-dashboardcommon-dot-dashboardlayoutgroup.md
Provides access to the collection of child layout groups and items.
Namespace : DevExpress.DashboardCommon
Assembly : DevExpress.Dashboard.v25.2.Core.dll
NuGet Package : DevExpress.Dashboard.Core
public DashboardLayoutNodeCollection ChildNodes { get; }
Public ReadOnly Property ChildNodes As DashboardLayoutNodeCollection
| Type | Description |
|---|---|
| DashboardLayoutNodeCollection |
A collection of DashboardLayoutNode descendants representing child layout groups and items.
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the ChildNodes 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.
winforms-dashboard-create-layout-from-scratch/CS/Dashboard_LayoutCustomization/Form1.cs#L68
Dashboard dashboard = dashboardViewer1.Dashboard;
DashboardLayoutGroup rootGroup = dashboard.LayoutRoot.ChildNodes[0] as DashboardLayoutGroup;
if ((rootGroup != null) && (rootGroup.ChildNodes.Count > 1))
winforms-dashboard-window-calculation-example/CS/WindowCalculationExample/TabPageLoadHelper.cs#L85
{
foreach (DashboardLayoutNode currentNode in ((DashboardLayoutGroup)copyFrom).ChildNodes)
{
winforms-dashboard-create-layout-from-scratch/VB/Dashboard_LayoutCustomization/Form1.vb#L55
Dim dashboard As Dashboard = dashboardViewer1.Dashboard
Dim rootGroup As DashboardLayoutGroup = TryCast(dashboard.LayoutRoot.ChildNodes(0), DashboardLayoutGroup)
If (rootGroup IsNot Nothing) AndAlso (rootGroup.ChildNodes.Count > 1) Then
winforms-dashboard-window-calculation-example/VB/WindowCalculationExample/TabPageLoadHelper.vb#L100
If TypeOf copyFrom Is DashboardLayoutGroup Then
For Each currentNode As DashboardLayoutNode In CType(copyFrom, DashboardLayoutGroup).ChildNodes
Dim node As DashboardLayoutNode = New DashboardLayoutItem()
See Also