Class Guides
Class for drawing guides
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Diagram
Assembly: Syncfusion.Diagram.Base.dll
Syntax
public class Guides : PropertyContainer, IServiceReferenceHolder, IServiceReferenceProvider, IPropertyObserver, IPropertyContainer, ICloneable, ISerializable, IDisposable
Constructors
Guides()
Initializes a new instance of the Guides class.
Declaration
public Guides()
Guides(Guides)
Initializes a new instance of the Guides class.
Declaration
public Guides(Guides src)
Parameters
Type | Name | Description |
---|---|---|
Guides | src | The SRC. |
Guides(SerializationInfo, StreamingContext)
Initializes a new instance of the Guides class.
Declaration
protected Guides(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The info. |
System.Runtime.Serialization.StreamingContext | context | The context. |
Properties
Enable
Gets or sets a value indicating whether to show guides or not.
Declaration
public bool Enable { get; set; }
Property Value
Type |
---|
System.Boolean |
LineStyle
Gets or sets the linestyle for guides
Declaration
public LineStyle LineStyle { get; }
Property Value
Type |
---|
LineStyle |
Margin
Gets or sets the margin between nodes.
Declaration
public float Margin { get; set; }
Property Value
Type |
---|
System.Single |
Type
Gets or sets the type of guide to be shown for nodes.
Declaration
public GuideTypes Type { get; set; }
Property Value
Type |
---|
GuideTypes |
Methods
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
Dispose()
Declaration
public override void Dispose()
Overrides
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
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. |