menu

WinForms

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

    Show / Hide Table of Contents

    Class DiagramProperties

    Inheritance
    System.Object
    DiagramProperties
    Implements
    System.Runtime.Serialization.ISerializable
    Inherited Members
    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 DiagramProperties : ISerializable

    Constructors

    DiagramProperties()

    Constructor

    Declaration
    public DiagramProperties()

    DiagramProperties(SerializationInfo, StreamingContext)

    Serialization constructor

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

    serialization info

    System.Runtime.Serialization.StreamingContext context

    streaming context

    Properties

    AllowDrop

    Gets or sets a value indicating whether the control accept data that user drags and drops onto it.

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

    BackgoundImageLayout

    Gets or sets the background image layout as defined in the System.Windows.Forms.ImageLayout enumeration.

    Declaration
    public ImageLayout BackgoundImageLayout { get; set; }
    Property Value
    Type
    System.Windows.Forms.ImageLayout

    BackgroundImage

    Gets or sets the background image displayed in the control.

    Declaration
    public Image BackgroundImage { get; set; }
    Property Value
    Type
    System.Drawing.Image

    DefaultContextMenuEnabled

    Gets or sets a value indicating whether view default context menu.

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

    true if show default context menu; otherwise, false.

    FocusOnNodeTab

    Gets or sets the Tab behavior needed for diagram control.

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

    HorizontalRuler

    Gets or sets the horizontal ruler.

    Declaration
    public Ruler HorizontalRuler { get; set; }
    Property Value
    Type Description
    Ruler

    The horizontal ruler.

    RulersHeight

    Gets or sets the height of the rulers.

    Declaration
    public int RulersHeight { get; set; }
    Property Value
    Type Description
    System.Int32

    The height of the rulers.

    ShowRulers

    Gets or sets a value indicating whether view show horizontal and vertical rulers.

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

    true if show rulers; otherwise, false.

    VerticalRuler

    Gets or sets the vertical ruler.

    Declaration
    public Ruler VerticalRuler { get; set; }
    Property Value
    Type Description
    Ruler

    The vertical ruler.

    Explicit Interface Implementations

    ISerializable.GetObjectData(SerializationInfo, StreamingContext)

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

    Implements

    System.Runtime.Serialization.ISerializable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved