WinForms

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

    Show / Hide Table of Contents

    Struct BorderColors

    Specifies the colors used for drawing the GroupBar control's client rectangle borders.

    Inherited Members
    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.ValueType.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    Namespace: Syncfusion.Windows.Forms.Tools
    Assembly: Syncfusion.Shared.Base.dll
    Syntax
    public struct BorderColors
    Remarks

    The BorderColors structure is used by the GroupBarItem objects in a GroupBar to specify the set of colors used for drawing the borders around the client control. The BorderColors value is set through the ClientBorderColors property.

    Constructors

    BorderColors(Color, Color, Color, Color)

    Creates a new instance of the BorderColors class with the specified colors.

    Declaration
    public BorderColors(Color left, Color top, Color right, Color bottom)
    Parameters
    Type Name Description
    System.Drawing.Color left

    Left border color.

    System.Drawing.Color top

    Top border color.

    System.Drawing.Color right

    Right border color.

    System.Drawing.Color bottom

    Bottom border color.

    Properties

    Bottom

    Gets / sets the color used to draw the bottom border.

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

    A System.Drawing.Color value.

    Default

    Represents a BorderColors instance with the default color values.

    Declaration
    public static BorderColors Default { get; }
    Property Value
    Type Description
    BorderColors

    Empty

    Represents a BorderColors instance with empty color values.

    Declaration
    public static BorderColors Empty { get; }
    Property Value
    Type Description
    BorderColors

    Left

    Gets / sets the color used to draw the left border.

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

    A System.Drawing.Color value.

    Right

    Gets / sets the color used to draw the right border.

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

    A System.Drawing.Color value.

    Top

    Gets / sets the color used to draw the top border.

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

    A System.Drawing.Color value.

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