Class DiagramProperties
Inheritance
Implements
Inherited Members
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 |
|
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 |
|
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 |