Sets the dock of an element added to the layout panel.
Namespace: MindFusion.Charting.Wpf
Assembly: MindFusion.Charting.Wpf
SyntaxC#
Copy Code
|
|---|
public static void SetDock ( |
Visual Basic
Copy Code
|
|---|
Public Shared Sub SetDock( _ |
The element to be added.
The dock.
ExampleThe 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