MindFusion.Charting for WPF Programmer's Guide
LayoutPanel.SetDock Method
See Also
 





Sets the dock of an element added to the layout panel.

Namespace: MindFusion.Charting.Wpf
Assembly: MindFusion.Charting.Wpf

 Syntax

C#  Copy Code

public static void SetDock (
    UIElement element,
    Dock dock
)

Visual Basic  Copy Code

Public Shared Sub SetDock( _
    element As UIElement, _
    dock As Dock _
)

 Parameters

element

The element to be added.

dock

The dock.

 Example

The following example sets the dock of a ChartLegend to Right.

C#  Copy Code

LayoutPanel.SetDock(chartLegend1, Dock.Right);

Visual Basic  Copy Code

LayoutPanel.SetDock(chartLegend1, Dock.Right)

 See Also

LayoutPanel Members
LayoutPanel Class
MindFusion.Charting.Wpf Namespace