Class ChartDockControl
Inheritance
System.Object
ChartDockControl
Assembly: Syncfusion.Chart.Base.dll
public class ChartDockControl : Control, IChartDockControl
Button button1 = new Button();
button1.Text = "Button";
chartControl1.DockingManager.Add( new ChartDockControl( button1 ));
Constructors
Declaration
public ChartDockControl()
Declaration
public ChartDockControl(Control control)
Parameters
Type |
Name |
Description |
System.Windows.Forms.Control |
control |
The control.
|
Properties
Controls the alignment of the Docked Control inside the ChartArea
Declaration
public virtual ChartAlignment Alignment { get; set; }
Property Value
Gets or sets the docking behaviour.
Declaration
public ChartDockingFlags Behavior { get; set; }
Property Value
Indicates if the control is docking free.
Declaration
public bool DockingFree { get; set; }
Property Value
Gets or sets the name of the control.
Declaration
public string Name { get; set; }
Property Value
Specifies the orientation of the docked control inside ChartArea
Declaration
public virtual ChartOrientation Orientation { get; set; }
Property Value
Specifies the docking position of the control
Declaration
public virtual ChartDock Position { get; set; }
Property Value
Methods
Declaration
public virtual SizeF Measure(SizeF size)
Parameters
Type |
Name |
Description |
System.Drawing.SizeF |
size |
|
Returns
Type |
System.Drawing.SizeF |
Events
An event that is triggered when Alignment is changed.
Declaration
public event EventHandler ChartAlignmentChanged
Event Type
An event that is triggered when Position is changed.
Declaration
public event EventHandler ChartDockChanged
Event Type
An event that is triggered when Location is changing.
Declaration
public event LocationEventHandler LocationChanging
Event Type
Explicit Interface Implementations
Declaration
void IChartDockControl.add_LocationChanged(EventHandler value)
Parameters
Type |
Name |
Description |
System.EventHandler |
value |
|
Declaration
void IChartDockControl.add_SizeChanged(EventHandler value)
Parameters
Type |
Name |
Description |
System.EventHandler |
value |
|
Declaration
void IChartDockControl.add_VisibleChanged(EventHandler value)
Parameters
Type |
Name |
Description |
System.EventHandler |
value |
|
Declaration
bool IChartDockControl.get_Enabled()
Returns
Declaration
Point IChartDockControl.get_Location()
Returns
Type |
System.Drawing.Point |
Declaration
Size IChartDockControl.get_Size()
Returns
Declaration
void IChartDockControl.remove_LocationChanged(EventHandler value)
Parameters
Type |
Name |
Description |
System.EventHandler |
value |
|
Declaration
void IChartDockControl.remove_SizeChanged(EventHandler value)
Parameters
Type |
Name |
Description |
System.EventHandler |
value |
|
Declaration
void IChartDockControl.remove_VisibleChanged(EventHandler value)
Parameters
Type |
Name |
Description |
System.EventHandler |
value |
|
Declaration
void IChartDockControl.set_Enabled(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Declaration
void IChartDockControl.set_Location(Point value)
Parameters
Type |
Name |
Description |
System.Drawing.Point |
value |
|
Declaration
void IChartDockControl.set_Size(Size value)
Parameters
Type |
Name |
Description |
System.Drawing.Size |
value |
|
Declaration
bool IChartDockControl.Visible { get; set; }
Returns
Implements
See Also