WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class EditStyle - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class EditStyle

    Encapsulates the edit properties of an object.

    Inheritance
    System.Object
    PropertyContainer
    EditStyle
    Implements
    IServiceReferenceHolder
    IServiceReferenceProvider
    IPropertyObserver
    IPropertyContainer
    System.ICloneable
    System.Runtime.Serialization.ISerializable
    System.IDisposable
    Inherited Members
    PropertyContainer.m_propertyObserver
    PropertyContainer.UpdateServiceReferences(IServiceReferenceProvider)
    PropertyContainer.Dispose()
    PropertyContainer.ProvideServiceReference(RuntimeTypeHandle)
    PropertyContainer.RecordPropertyChanged(String)
    PropertyContainer.OnPropertyChanging(String, Object)
    PropertyContainer.OnPropertyChanged(String)
    PropertyContainer.GetPropertyContainerByName(String)
    PropertyContainer.OnMeasureUnitsChanging(MeasureUnits, MeasureUnits)
    PropertyContainer.ISerializable.GetObjectData(SerializationInfo, StreamingContext)
    PropertyContainer.IPropertyObserver.OnPropertyChanging(String, String, Object)
    PropertyContainer.IPropertyObserver.OnPropertyChanged(String, String)
    PropertyContainer.PropertyObserber
    PropertyContainer.HistoryService
    PropertyContainer.FullContainerName
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Forms.Diagram
    Assembly: Syncfusion.Diagram.Base.dll
    Syntax
    public class EditStyle : PropertyContainer, IServiceReferenceHolder, IServiceReferenceProvider, IPropertyObserver, IPropertyContainer, ICloneable, ISerializable, IDisposable

    Constructors

    EditStyle()

    Initializes a new instance of the EditStyle class.

    Declaration
    public EditStyle()

    EditStyle(EditStyle)

    Initializes a new instance of the EditStyle class.

    Declaration
    public EditStyle(EditStyle src)
    Parameters
    Type Name Description
    EditStyle src

    The edit style.

    EditStyle(SerializationInfo, StreamingContext)

    Initializes a new instance of the EditStyle class.

    Declaration
    protected EditStyle(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    System.Runtime.Serialization.SerializationInfo info

    The info.

    System.Runtime.Serialization.StreamingContext context

    The context.

    Properties

    AllowChangeHeight

    Gets or sets a value indicating whether the object's Height can be changed.

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

    AllowChangeWidth

    Gets or sets a value indicating whether the object's Width can be changed.

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

    AllowDelete

    Gets or sets a value indicating whether object can be deleted.

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

    AllowMove

    Gets or sets a value indicating whether node can be moved. Property is obsolete. Use AllowMoveX and AllowMoveY properties instead.

    Declaration
    [Obsolete]
    public bool AllowMove { get; set; }
    Property Value
    Type Description
    System.Boolean

    AllowMoveX

    Gets or sets a value indicating whether the object can be moved in X direction.

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

    AllowMoveY

    Gets or sets a value indicating whether the object can be moved in Y axis.

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

    AllowResize

    Gets or sets a value indicating whether node can be resized. Property is obsolete. Use AllowChangeHeight and AllowChangeWidth properties instead.

    Declaration
    [Obsolete]
    public bool AllowResize { get; set; }
    Property Value
    Type Description
    System.Boolean

    AllowRotate

    Gets or sets a value indicating whether the object can be rotated.

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

    AllowSelect

    Gets or sets a value indicating whether the object can be selected.

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

    AllowVertexEdit

    Gets or sets a value indicating whether object's vertices can be edited.

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

    AspectRatio

    Gets or sets a value indicating whether node will be resized proportionally.

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

    DefaultHandleEditMode

    Gets or sets default mode for editing the object using selection handles.

    Declaration
    public HandleEditMode DefaultHandleEditMode { get; set; }
    Property Value
    Type Description
    HandleEditMode

    Enabled

    Gets or sets a value indicating whether the object is enabled or disabled.

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

    HidePinPoint

    Gets or sets a value indicating whether node will display pin point in diagram.

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

    HideRotationHandle

    Gets or sets a value indicating whether node will display rotation handle in diagram.

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

    true if need to hide rotation handle; otherwise, false.

    InheritContainerMeasureUnits

    Gets or sets a value indicating whether current instance inherit container measure units.

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

    true if current instance inherit container measure units; otherwise, false.

    Overrides
    PropertyContainer.InheritContainerMeasureUnits

    MeasureUnit

    Gets or sets the measure unit.

    Declaration
    public override MeasureUnits MeasureUnit { get; set; }
    Property Value
    Type Description
    MeasureUnits

    The measure unit.

    Overrides
    PropertyContainer.MeasureUnit

    Methods

    CanChangeHeight(Node)

    Determines if the given node's width can be changed.

    Declaration
    public static bool CanChangeHeight(Node node)
    Parameters
    Type Name Description
    Node node

    Node to test.

    Returns
    Type Description
    System.Boolean

    True if node's Width can be changed; otherwise False.

    CanChangeWidth(Node)

    Determines if the given node's width can be changed.

    Declaration
    public static bool CanChangeWidth(Node node)
    Parameters
    Type Name Description
    Node node

    Node to test.

    Returns
    Type Description
    System.Boolean

    True if node's Width can be changed; otherwise False.

    CanDelete(Node)

    Determines if the given node can be deleted from its container or not.

    Declaration
    public static bool CanDelete(Node node)
    Parameters
    Type Name Description
    Node node

    Node to test.

    Returns
    Type Description
    System.Boolean

    True if node can be deleted; otherwise False.

    CanMoveX(Node)

    Determines if the given node can be moved by X axis.

    Declaration
    public static bool CanMoveX(Node node)
    Parameters
    Type Name Description
    Node node

    Node to test.

    Returns
    Type Description
    System.Boolean

    True if node can be moved; otherwise False.

    CanMoveY(Node)

    Determines if the given node can be moved or not.

    Declaration
    public static bool CanMoveY(Node node)
    Parameters
    Type Name Description
    Node node

    Node to test.

    Returns
    Type Description
    System.Boolean

    True if node can be moved; otherwise False.

    CanRotate(Node)

    Determines whether given node can be rotated.

    Declaration
    public static bool CanRotate(Node node)
    Parameters
    Type Name Description
    Node node

    Node to test

    Returns
    Type Description
    System.Boolean

    True if node can be moved; otherwise False.

    CanSelect(Node)

    Determines if the given node can be selected or not.

    Declaration
    public static bool CanSelect(Node node)
    Parameters
    Type Name Description
    Node node

    Node to test.

    Returns
    Type Description
    System.Boolean

    True if node can be selected; otherwise False.

    Clone()

    Creates a new object that is a copy of the current instance.

    Declaration
    public override object Clone()
    Returns
    Type Description
    System.Object

    A new object that is a copy of this instance.

    Overrides
    PropertyContainer.Clone()

    GetObjectData(SerializationInfo, StreamingContext)

    Populates a System.Runtime.Serialization.SerializationInfo with the data needed to serialize the target object.

    Declaration
    protected override void GetObjectData(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    System.Runtime.Serialization.SerializationInfo info

    The System.Runtime.Serialization.SerializationInfo to populate with data.

    System.Runtime.Serialization.StreamingContext context

    The destination (see System.Runtime.Serialization.StreamingContext) for this serialization.

    Overrides
    PropertyContainer.GetObjectData(SerializationInfo, StreamingContext)
    Exceptions
    Type Condition
    System.Security.SecurityException

    The caller does not have the required permission.

    GetPropertyContainerName()

    Gets the name of the property container.

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

    Property container name.

    Overrides
    PropertyContainer.GetPropertyContainerName()

    IsEnabled(Node)

    Determines if the given node is enabled or disabled.

    Declaration
    public static bool IsEnabled(Node node)
    Parameters
    Type Name Description
    Node node

    Node to test.

    Returns
    Type Description
    System.Boolean

    True if enabled; False if disabled.

    Implements

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