WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Struct NoneColor

    Show / Hide Table of Contents

    Struct NoneColor

    Class for Color.

    Inherited Members
    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    Namespace: Syncfusion.SVG.IO
    Assembly: Syncfusion.Diagram.Base.dll
    Syntax
    public struct NoneColor

    Constructors

    NoneColor(Color)

    Initializes a new instance of the NoneColor struct.

    Declaration
    public NoneColor(Color color)
    Parameters
    Type Name Description
    System.Drawing.Color color

    The color.

    NoneColor(String)

    Initializes a new instance of the NoneColor struct.

    Declaration
    public NoneColor(string color)
    Parameters
    Type Name Description
    System.String color

    The color.

    Properties

    Color

    Gets the color.

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

    The color.

    ColorRegex

    Gets the color regex.

    Declaration
    public static Regex ColorRegex { get; }
    Property Value
    Type Description
    System.Text.RegularExpressions.Regex

    The color regex.

    ColorRegexPercent

    Gets the color regex percent.

    Declaration
    public static Regex ColorRegexPercent { get; }
    Property Value
    Type Description
    System.Text.RegularExpressions.Regex

    The color regex percent.

    Hex3ColorRegex

    Gets the hex3 color regex.

    Declaration
    public static Regex Hex3ColorRegex { get; }
    Property Value
    Type Description
    System.Text.RegularExpressions.Regex

    The hex3 color regex.

    Hex6ColorRegex

    Gets the hex6 color regex.

    Declaration
    public static Regex Hex6ColorRegex { get; }
    Property Value
    Type Description
    System.Text.RegularExpressions.Regex

    The hex6 color regex.

    IsNone

    Gets a value indicating whether this instance is none.

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

    true if this instance is none; otherwise, false.

    Primaty

    Gets the primaty.

    Declaration
    public string Primaty { get; }
    Property Value
    Type Description
    System.String

    The primaty.

    Methods

    ToString()

    Returns the fully qualified type name of this instance.

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    A System.String containing a fully qualified type name.

    Overrides
    System.ValueType.ToString()

    Operators

    Implicit(Color to NoneColor)

    Performs an implicit conversion from System.Drawing.Color to NoneColor.

    Declaration
    public static implicit operator NoneColor(Color color)
    Parameters
    Type Name Description
    System.Drawing.Color color

    The color.

    Returns
    Type Description
    NoneColor

    The result of the conversion.

    Implicit(String to NoneColor)

    Performs an implicit conversion from System.String to NoneColor.

    Declaration
    public static implicit operator NoneColor(string color)
    Parameters
    Type Name Description
    System.String color

    The color.

    Returns
    Type Description
    NoneColor

    The result of the conversion.

    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved