Class Borders
Represents a collection of four borders. Border
Inherited Members
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()
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
GetDefComposite(Int32)
Declaration
protected override FormatBase GetDefComposite(int key)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | key |
Returns
Type |
---|
FormatBase |
Overrides
GetDefValue(Int32)
Declaration
protected override object GetDefValue(int key)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | key |
Returns
Type |
---|
System.Object |
Overrides
ImportMembers(FormatBase)
Declaration
protected override void ImportMembers(FormatBase format)
Parameters
Type | Name | Description |
---|---|---|
FormatBase | format |
Overrides
InitXDLSHolder()
Declaration
protected override void InitXDLSHolder()