menu

WinForms

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

    Show / Hide Table of Contents

    Class Borders

    Represents a collection of four borders. Border

    Inheritance
    System.Object
    EntityBase
    XDLSSerializableBase
    FormatBase
    Borders
    Implements
    IEntityBase
    IXDLSSerializable
    Inherited Members
    EntityBase.Document
    EntityBase.DocumentEx
    EntityBase.Owner
    EntityBase.SetOwner(IEntityBase)
    FormatBase.EnsureComposites(Int32[])
    FormatBase.GetBaseKey(Int32)
    FormatBase.GetDefComposite(Int32, FormatBase)
    FormatBase.GetFullKey(Int32)
    FormatBase.HasKey(Int32)
    FormatBase.ImportContainer(FormatBase)
    FormatBase.IsDefault
    FormatBase.Item[Int32]
    FormatBase.m_keysOffset
    FormatBase.PropertiesHash
    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()
    XDLSSerializableBase.IXDLSSerializable.ReadXmlAttributes(IXDLSAttributeReader)
    XDLSSerializableBase.IXDLSSerializable.ReadXmlContent(IXDLSContentReader)
    XDLSSerializableBase.IXDLSSerializable.RestoreReference(String, Int32)
    XDLSSerializableBase.IXDLSSerializable.WriteXmlAttributes(IXDLSAttributeWriter)
    XDLSSerializableBase.IXDLSSerializable.WriteXmlContent(IXDLSContentWriter)
    XDLSSerializableBase.IXDLSSerializable.XDLSHolder
    XDLSSerializableBase.m_id
    XDLSSerializableBase.ReadXmlAttributes(IXDLSAttributeReader)
    XDLSSerializableBase.ReadXmlContent(IXDLSContentReader)
    XDLSSerializableBase.RestoreReference(String, Int32)
    XDLSSerializableBase.WriteXmlAttributes(IXDLSAttributeWriter)
    XDLSSerializableBase.WriteXmlContent(IXDLSContentWriter)
    XDLSSerializableBase.XDLSHolder
    Namespace: Syncfusion.DLS
    Assembly: Syncfusion.DLS.Base.dll
    Syntax
    public class Borders : FormatBase, IEntityBase, IXDLSSerializable

    Constructors

    Borders()

    Default constructor.

    Declaration
    public Borders()

    Fields

    BottomKey

    Declaration
    public const int BottomKey = 3
    Field Value
    Type
    System.Int32

    LeftKey

    Declaration
    public const int LeftKey = 1
    Field Value
    Type
    System.Int32

    RightKey

    Declaration
    public const int RightKey = 4
    Field Value
    Type
    System.Int32

    TopKey

    Declaration
    public const int TopKey = 2
    Field Value
    Type
    System.Int32

    Properties

    BorderType

    Sets style of the borders.

    Declaration
    public BorderStyle BorderType { set; }
    Property Value
    Type
    BorderStyle

    Bottom

    Gets bottom border.

    Declaration
    public Border Bottom { get; }
    Property Value
    Type
    Border

    Color

    Sets color of the borders.

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

    Left

    Gets left border.

    Declaration
    public Border Left { get; }
    Property Value
    Type
    Border

    LineWidth

    Sets width of the borders.

    Declaration
    public float LineWidth { set; }
    Property Value
    Type
    System.Single

    NoBorder

    Gets whether the border exists

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

    Right

    Gets right border.

    Declaration
    public Border Right { get; }
    Property Value
    Type
    Border

    Shadow

    Sets whether borders are drawn with shadow.

    Declaration
    public bool Shadow { set; }
    Property Value
    Type
    System.Boolean

    Space

    Sets width of space to maintain between borders and text within borders.

    Declaration
    public float Space { set; }
    Property Value
    Type
    System.Single

    Top

    Gets top border.

    Declaration
    public Border Top { get; }
    Property Value
    Type
    Border

    Methods

    Clone()

    Clones self.

    Declaration
    public Borders Clone()
    Returns
    Type
    Borders

    CloneImpl()

    Clone method implementation.

    Declaration
    protected virtual Borders CloneImpl()
    Returns
    Type
    Borders

    EnsureComposites()

    Declaration
    protected override void EnsureComposites()
    Overrides
    FormatBase.EnsureComposites()

    GetDefComposite(Int32)

    Declaration
    protected override FormatBase GetDefComposite(int key)
    Parameters
    Type Name Description
    System.Int32 key
    Returns
    Type
    FormatBase
    Overrides
    FormatBase.GetDefComposite(Int32)

    GetDefValue(Int32)

    Declaration
    protected override object GetDefValue(int key)
    Parameters
    Type Name Description
    System.Int32 key
    Returns
    Type
    System.Object
    Overrides
    FormatBase.GetDefValue(Int32)

    ImportMembers(FormatBase)

    Declaration
    protected override void ImportMembers(FormatBase format)
    Parameters
    Type Name Description
    FormatBase format
    Overrides
    FormatBase.ImportMembers(FormatBase)

    InitXDLSHolder()

    Declaration
    protected override void InitXDLSHolder()
    Overrides
    XDLSSerializableBase.InitXDLSHolder()

    Implements

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