Class Border
Represents border formatting.
Inheritance
System.Object
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()
Assembly: Syncfusion.DLS.Base.dll
Syntax
public class Border : FormatBase, IEntityBase, IXDLSSerializable
Constructors
Initializing constructor.
Declaration
public Border(FormatBase parent, int baseKey)
Parameters
Type |
Name |
Description |
FormatBase |
parent |
|
System.Int32 |
baseKey |
|
Fields
BorderTypeKey
Declaration
protected const int BorderTypeKey = 2
Field Value
ColorKey
Declaration
public const int ColorKey = 1
Field Value
LineWidthKey
Declaration
protected const int LineWidthKey = 3
Field Value
ShadowKey
Declaration
protected const int ShadowKey = 5
Field Value
SpaceKey
Declaration
protected const int SpaceKey = 4
Field Value
Properties
BorderType
Gets/sets style of the border.
Declaration
public BorderStyle BorderType { get; set; }
Property Value
Color
Gets/sets color of the border.
Declaration
public Color Color { get; set; }
Property Value
Type |
System.Drawing.Color |
LineWidth
Gets/sets width of the border.
Declaration
public float LineWidth { get; set; }
Property Value
Shadow
Setting to define if border should be drawn with shadow.
Declaration
public bool Shadow { get; set; }
Property Value
Space
Gets / Sets width of space to maintain between border and text within border.
Declaration
public float Space { get; set; }
Property Value
Methods
GetDefValue(Int32)
Declaration
protected override object GetDefValue(int key)
Parameters
Type |
Name |
Description |
System.Int32 |
key |
|
Returns
Overrides
Declaration
public void InitFormatting(Color color, float lineWidth, BorderStyle borderType, bool shadow)
Parameters
Type |
Name |
Description |
System.Drawing.Color |
color |
|
System.Single |
lineWidth |
|
BorderStyle |
borderType |
|
System.Boolean |
shadow |
|
InitXDLSHolder()
Declaration
protected override void InitXDLSHolder()
Overrides
ReadXmlAttributes(IXDLSAttributeReader)
Declaration
protected override void ReadXmlAttributes(IXDLSAttributeReader reader)
Parameters
Overrides
WriteXmlAttributes(IXDLSAttributeWriter)
Declaration
protected override void WriteXmlAttributes(IXDLSAttributeWriter writer)
Parameters
Overrides
Implements