menu

WinForms

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

    Show / Hide Table of Contents

    Class Guides

    Class for drawing guides

    Inheritance
    System.Object
    PropertyContainer
    Guides
    Implements
    IServiceReferenceHolder
    IServiceReferenceProvider
    IPropertyObserver
    IPropertyContainer
    System.ICloneable
    System.Runtime.Serialization.ISerializable
    System.IDisposable
    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.OnMeasureUnitsChanging(MeasureUnits, MeasureUnits)
    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 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
    PropertyContainer.Clone()

    Dispose()

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

    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()

    Implements

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