Class ControlPoint
Summary description for ControlPoint.
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Diagram
Assembly: Syncfusion.Diagram.Base.dll
Syntax
public class ControlPoint : PropertyContainer, IServiceReferenceHolder, IServiceReferenceProvider, IPropertyObserver, IPropertyContainer, ICloneable, ISerializable, IDisposable, IHandle
Constructors
ControlPoint(ControlPoint)
Initializes a new instance of the ControlPoint class.
Declaration
public ControlPoint(ControlPoint src)
Parameters
Type | Name | Description |
---|---|---|
ControlPoint | src | The SRC. |
ControlPoint(PathNode, PointF, Int32)
Initializes a new instance of the ControlPoint class.
Declaration
public ControlPoint(PathNode container, PointF ptLocation, int nID)
Parameters
Type | Name | Description |
---|---|---|
PathNode | container | The container. |
System.Drawing.PointF | ptLocation | The pt location. |
System.Int32 | nID | The n ID. |
ControlPoint(SerializationInfo, StreamingContext)
Initializes a new instance of the ControlPoint class.
Declaration
protected ControlPoint(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The info. |
System.Runtime.Serialization.StreamingContext | context | The context. |
Properties
AllowMoveX
Gets or sets a value indicating whether instance allow move by X axis.
Declaration
public bool AllowMoveX { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
AllowMoveY
Gets or sets a value indicating whether instance allow move by Y axis.
Declaration
public bool AllowMoveY { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Container
Gets or sets the container.
Declaration
public PathNode Container { get; set; }
Property Value
Type | Description |
---|---|
PathNode | The container. |
ID
Gets the ID.
Declaration
public int ID { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The ID. |
InUpdate
Gets or sets a value indicating whether the handle is updating
Declaration
public bool InUpdate { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
IsMoving
Gets or sets a value indicating whether the handle is moving
Declaration
public bool IsMoving { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Location
Gets or sets the location in local coordinates.
Declaration
public PointF Location { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.PointF | The location. |
Methods
Clone()
Clones this instance.
Declaration
public override object Clone()
Returns
Type |
---|
System.Object |
Overrides
Dispose()
Declaration
public override void Dispose()
Overrides
GetObjectData(SerializationInfo, StreamingContext)
Gets the object data.
Declaration
protected override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The info. |
System.Runtime.Serialization.StreamingContext | context | The context. |
Overrides
GetPropertyContainerName()
Gets the name of the property container.
Declaration
protected override string GetPropertyContainerName()
Returns
Type |
---|
System.String |
Overrides
Move(SizeF, MeasureUnits)
Moves the specified offset.
Declaration
public void Move(SizeF offset, MeasureUnits offsetUnits)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.SizeF | offset | The offset. |
MeasureUnits | offsetUnits | The offset units. |
OnMeasureUnitsChanging(MeasureUnits, MeasureUnits)
Called when measure units property changing.
Declaration
protected override void OnMeasureUnitsChanging(MeasureUnits from, MeasureUnits to)
Parameters
Type | Name | Description |
---|---|---|
MeasureUnits | from | From. |
MeasureUnits | to | To. |
Overrides
OnVertexChanged()
Called when vertex position changed.
Declaration
protected void OnVertexChanged()
OnVertexChanging(PointF)
Called when vertex position changing.
Declaration
protected bool OnVertexChanging(PointF newValue)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.PointF | newValue | The new value. |
Returns
Type |
---|
System.Boolean |