Search
LayoutBuilder.CreateAndAdd2By2Layout Method
See Also
 






Creates horizontal stack panels for components on same row and adds them to a vertical stack panel. The panel is automatically added to the dashboard's LayoutPanel.

Namespace: MindFusion.Charting.Controls
Assembly: MindFusion.Charting

 Syntax

C#  Copy Code

public StackPanel CreateAndAdd2By2Layout (
    Component row1col1,
    Component row1col2,
    Component row2col1,
    Component row2col2
)

Visual Basic  Copy Code

Public Function CreateAndAdd2By2Layout( _
    row1col1 As Component, _
    row1col2 As Component, _
    row2col1 As Component, _
    row2col2 As Component _
) As StackPanel

 Parameters

row1col1

The first component on first row.

row1col2

The second component on first row.

row2col1

The first component on second row.

row2col2

The second component on second row.

 Return Value

A StackPanel instance.

 See Also