alexa
menu

WinForms

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

    Show / Hide Table of Contents

    Class Borders

    Represents the collection of Border that includes top, bottom, right and left borders.

    Inheritance
    System.Object
    OwnerHolder
    XDLSSerializableBase
    FormatBase
    Borders
    Implements
    IXDLSSerializable
    Inherited Members
    FormatBase.BaseLineAlignmentAuto
    FormatBase.BorderStyleNone
    FormatBase.BreakClearNone
    FormatBase.ByteMax
    FormatBase.CellMergeNone
    FormatBase.ChapterPageSeparatorTypeHyphen
    FormatBase.ClearFormatting()
    FormatBase.DefFontSizeSingle
    FormatBase.DefScalingSizeSingle
    FormatBase.DocTextDirectionLeftToRight
    FormatBase.DropCapNone
    FormatBase.EighteenSingle
    FormatBase.EmphasisNone
    FormatBase.EmptyColor
    FormatBase.EmptyString
    FormatBase.EndnotePosEndOfDoc
    FormatBase.EndnoteRestartDoNot
    FormatBase.EnsureComposites(Int32[])
    FormatBase.False
    FormatBase.FontHintDefault
    FormatBase.FootEndNoteNumberFormatArabic
    FormatBase.FootEndNoteNumberFormatLowerCaseRoman
    FormatBase.FootnotePosBottomOfPage
    FormatBase.FrameWrapAuto
    FormatBase.FtsWidthNone
    FormatBase.GetBaseKey(Int32)
    FormatBase.GetDefComposite(Int32, FormatBase)
    FormatBase.GetFullKey(Int32)
    FormatBase.GridPitchNoGrid
    FormatBase.HasBoolKey(Int32)
    FormatBase.HasKey(Int32)
    FormatBase.HeadingLevelNone
    FormatBase.HorizontalAlignmentLeft
    FormatBase.HorizontalRelationColumn
    FormatBase.ImportContainer(FormatBase)
    FormatBase.ImportMembers(FormatBase)
    FormatBase.IntMaxValue
    FormatBase.Item[Int32]
    FormatBase.LigatureNone
    FormatBase.LineNumberingNone
    FormatBase.LineSpacingRuleMultiple
    FormatBase.ListTypeNoList
    FormatBase.m_oldPropertiesHash
    FormatBase.m_propertiesHash
    FormatBase.MinDateTime
    FormatBase.MinusOneSingle
    FormatBase.NumberFormDefault
    FormatBase.NumberSpacingDefault
    FormatBase.OneInt
    FormatBase.OneShort
    FormatBase.PageAlignTop
    FormatBase.PageBorderOffsetText
    FormatBase.PageBordersApplyAll
    FormatBase.PageNumberStyleArabic
    FormatBase.PageOrientPortrait
    FormatBase.RowAlignmentCenter
    FormatBase.RowAlignmentLeft
    FormatBase.RowAlignmentRight
    FormatBase.SectionBreakCodeNewPage
    FormatBase.Short1025
    FormatBase.Short1033
    FormatBase.SizeFObj
    FormatBase.StylisticSetDefault
    FormatBase.SubSuperScriptNone
    FormatBase.TextDirectionHorizontal
    FormatBase.TextEffectNone
    FormatBase.TextureStyleNone
    FormatBase.TightWrapNone
    FormatBase.True
    FormatBase.TwelveSingle
    FormatBase.TwentySingle
    FormatBase.UnderlineNone
    FormatBase.VerticalAlignmentTop
    FormatBase.VerticalRelationMargin
    FormatBase.ZeroByte
    FormatBase.ZeroInt
    FormatBase.ZeroLong
    FormatBase.ZeroSingle
    OwnerHolder.Document
    OwnerHolder.m_doc
    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.ReadXmlAttributes(IXDLSAttributeReader)
    XDLSSerializableBase.ReadXmlContent(IXDLSContentReader)
    XDLSSerializableBase.RestoreReference(String, Int32)
    XDLSSerializableBase.WriteXmlAttributes(IXDLSAttributeWriter)
    XDLSSerializableBase.WriteXmlContent(IXDLSContentWriter)
    XDLSSerializableBase.XDLSHolder
    Namespace: Syncfusion.DocIO.DLS
    Assembly: Syncfusion.DocIO.Base.dll
    Syntax
    public class Borders : FormatBase, IXDLSSerializable

    Constructors

    Borders()

    Initializes a new instance of the Borders class.

    Declaration
    public Borders()

    Fields

    BottomKey

    Constant value for bottom key.

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

    DiagonalDownKey

    constant value for diagonal down key.

    Declaration
    public const int DiagonalDownKey = 7
    Field Value
    Type
    System.Int32

    DiagonalUpKey

    constant value for diagonal up key.

    Declaration
    public const int DiagonalUpKey = 8
    Field Value
    Type
    System.Int32

    HorizontalKey

    constant value for horizontal key.

    Declaration
    public const int HorizontalKey = 6
    Field Value
    Type
    System.Int32

    LeftKey

    Constant value for left key.

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

    RightKey

    Constant value for right key.

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

    TopKey

    Constant value for top key.

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

    VerticalKey

    constant value for vertical key.

    Declaration
    public const int VerticalKey = 5
    Field Value
    Type
    System.Int32

    Properties

    BorderType

    Sets style of the borders. Write-only.

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

    The BorderStyle member that specifies the style for left, right, top, bottom, vertical and horizontal borders.

    Bottom

    Gets the bottom border. Read-only.

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

    The Border for bottom.

    Color

    Sets color of the borders. Write-only.

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

    The System.Drawing.Color for left, right, top and bottom borders.

    Horizontal

    Gets horizontal border. Read-only.

    Declaration
    public Border Horizontal { get; }
    Property Value
    Type Description
    Border

    The horizontal Border.

    Left

    Gets the left border. Read-only.

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

    The Border for left.

    LineWidth

    Sets width of the borders. Write-only.

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

    The float value specifies the line width for left, right, top and bottom borders.

    NoBorder

    Gets a value indicating whether the border exists. Read-only.

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

    True if there is no border; otherwise, false.

    Right

    Gets the right border. Read-only.

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

    The Border for right.

    Shadow

    Sets whether borders should be drawn with shadow. Write-only.

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

    True if shadow should be drawn; otherwise, false.

    Space

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

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

    The float that specifies the width of the space.

    Top

    Gets the top border. Read-only.

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

    The Border for top.

    Vertical

    Gets the vertical border. Read-only.

    Declaration
    public Border Vertical { get; }
    Property Value
    Type Description
    Border

    The vertical Border.

    Methods

    Clone()

    Creates duplicate copy of the entity.

    Declaration
    public Borders Clone()
    Returns
    Type Description
    Borders

    The reference to the newly created Borders.

    CloneImpl()

    Creates duplicate copy of the entity.

    Declaration
    protected override object CloneImpl()
    Returns
    Type Description
    System.Object

    An object that can be casted as Borders.

    Overrides
    XDLSSerializableBase.CloneImpl()

    EnsureComposites()

    Ensures the composites.

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

    GetDefComposite(Int32)

    Gets the composite values.

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

    The integer that specifies the key.

    Returns
    Type Description
    FormatBase

    The FormatBase object.

    Overrides
    FormatBase.GetDefComposite(Int32)

    GetDefValue(Int32)

    Returns the default values.

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

    The integer that specifies the key.

    Returns
    Type Description
    System.Object

    An object that specifies the default value.

    Overrides
    FormatBase.GetDefValue(Int32)
    Exceptions
    Type Condition
    System.ArgumentException

    The key is invalid.

    InitXDLSHolder()

    Registers child objects in XDSL holder.

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

    OnChange(FormatBase, Int32)

    Occurs on format change.

    Declaration
    protected override void OnChange(FormatBase format, int propertyKey)
    Parameters
    Type Name Description
    FormatBase format

    The FormatBase object.

    System.Int32 propertyKey

    The integer that represents the property key.

    Overrides
    FormatBase.OnChange(FormatBase, Int32)

    Implements

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