MindFusion.Charting for Silverlight Programmer's Guide
LayoutPanel.Dock Attached Property
See Also
 






Specifies the docking of elements within the PlotArea.

Namespace: MindFusion.Charting.Silverlight
Assembly: MindFusion.Charting.Silverlight

 Syntax

C#  Copy Code
See LayoutPanel.GetDock, LayoutPanel.SetDock
Visual Basic  Copy Code
See LayoutPanel.GetDock, LayoutPanel.SetDock

 Property Value

One of the Dock enumeration members.

 Example

The following example adds a ChartLegend to a line chart and docks it to the left.

C#  Copy Code
ChartLegend legend = new ChartLegend();
legend.Series = lineChart1.Series;
LayoutPanel.SetDock(legend, Dock.Left);
lineChart1.Legends.Add(legend);
Visual Basic  Copy Code
Dim legend As ChartLegend = New ChartLegend
legend.Series = lineChart1.Series
LayoutPanel.SetDock(legend, Dock.Left)
lineChart1.Legends.Add(legend)

 See Also

LayoutPanel Members
LayoutPanel Class
MindFusion.Charting.Silverlight Namespace