WinForms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class HandleStyle

    Show / Hide Table of Contents

    Class HandleStyle

    A FillStyle is a collection of properties that define a brush used for fill operations during rendering.

    Inheritance
    System.Object
    PropertyContainer
    HandleStyle
    ControlPointStyle
    PinPointStyle
    ResizeHandlesStyle
    RotationHandleStyle
    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.MeasureUnit
    PropertyContainer.InheritContainerMeasureUnits
    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 HandleStyle : PropertyContainer, IServiceReferenceHolder, IServiceReferenceProvider, IPropertyObserver, IPropertyContainer, ICloneable, ISerializable, IDisposable

    Constructors

    HandleStyle()

    Initializes a new instance of the HandleStyle class.

    Declaration
    public HandleStyle()

    HandleStyle(HandleStyle)

    Initializes a new instance of the HandleStyle class.

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

    The handle style.

    HandleStyle(SerializationInfo, StreamingContext)

    Initializes a new instance of the HandleStyle class.

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

    The info.

    System.Runtime.Serialization.StreamingContext context

    The context.

    Properties

    FillColor

    Gets or sets Color to use for the brush.

    Declaration
    public Color FillColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color
    Remarks

    NOTE: If Type is set to FillType.LinearGradient, then this is the ending color for the gradient.

    FillColorAlphaFactor

    Gets or sets Alpha blending factor.

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

    HandleSize

    Gets or sets Hatch brush style to create for filled regions.

    Declaration
    public HandleSize HandleSize { get; set; }
    Property Value
    Type Description
    HandleSize

    OutlineColor

    Gets or sets the foreground color used for the fill style.

    Declaration
    public Color OutlineColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color
    Remarks

    NOTE: If Type is set to FillType.LinearGradient, then this is the starting color for the gradient.

    OutlineColorAlphaFactor

    Gets or sets Alpha blending factor for the ForeColor.

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

    Type

    Gets or sets Handle Type.

    Declaration
    public HandleStyleType Type { get; set; }
    Property Value
    Type Description
    HandleStyleType

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

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

    ShouldSerializeColor()

    Shows whether OutlineColor will be serializable.

    Declaration
    protected bool ShouldSerializeColor()
    Returns
    Type Description
    System.Boolean

    true, if serialize color.

    ShouldSerializeForeColor()

    Shows whether FillColor will be serializable.

    Declaration
    protected bool ShouldSerializeForeColor()
    Returns
    Type Description
    System.Boolean

    rue, if serialize forecolor.

    Implements

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