menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ControlPoint - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ControlPoint

    Summary description for ControlPoint.

    Inheritance
    System.Object
    PropertyContainer
    ControlPoint
    Implements
    IServiceReferenceHolder
    IServiceReferenceProvider
    IPropertyObserver
    IPropertyContainer
    System.ICloneable
    System.Runtime.Serialization.ISerializable
    System.IDisposable
    IHandle
    Inherited Members
    PropertyContainer.FullContainerName
    PropertyContainer.GetPropertyContainerByName(String)
    PropertyContainer.HistoryService
    PropertyContainer.InheritContainerMeasureUnits
    PropertyContainer.IPropertyObserver.OnPropertyChanged(String, String)
    PropertyContainer.IPropertyObserver.OnPropertyChanging(String, String, Object)
    PropertyContainer.ISerializable.GetObjectData(SerializationInfo, StreamingContext)
    PropertyContainer.m_propertyObserver
    PropertyContainer.MeasureUnit
    PropertyContainer.OnPropertyChanged(String)
    PropertyContainer.OnPropertyChanging(String, Object)
    PropertyContainer.PropertyObserber
    PropertyContainer.ProvideServiceReference(RuntimeTypeHandle)
    PropertyContainer.RecordPropertyChanged(String)
    PropertyContainer.UpdateServiceReferences(IServiceReferenceProvider)
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    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

    true if allow to move by X axis; otherwise, false.

    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

    true if allow to move by Y axis; otherwise, false.

    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

    true if handle is updating; otherwise, false.

    IsMoving

    Gets or sets a value indicating whether the handle is moving

    Declaration
    public bool IsMoving { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if handle is moving; otherwise, false.

    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
    PropertyContainer.Clone()

    Dispose()

    Declaration
    public override void Dispose()
    Overrides
    PropertyContainer.Dispose()

    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
    PropertyContainer.GetObjectData(SerializationInfo, StreamingContext)

    GetPropertyContainerName()

    Gets the name of the property container.

    Declaration
    protected override string GetPropertyContainerName()
    Returns
    Type
    System.String
    Overrides
    PropertyContainer.GetPropertyContainerName()

    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
    PropertyContainer.OnMeasureUnitsChanging(MeasureUnits, MeasureUnits)

    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

    Implements

    IServiceReferenceHolder
    IServiceReferenceProvider
    IPropertyObserver
    IPropertyContainer
    System.ICloneable
    System.Runtime.Serialization.ISerializable
    System.IDisposable
    IHandle
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved