Class CellFormat
Represents Cell Formatting.
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 CellFormat : FormatBase, IEntityBase, IXDLSSerializable
Constructors
CellFormat()
Default constructor.
Declaration
public CellFormat()
Properties
BackColor
Gets/sets background color.
Declaration
public Color BackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
Borders
Gets borders.
Declaration
public Borders Borders { get; }
Property Value
Type |
---|
Borders |
HorizontalMerge
Gets / sets the way of horizontal merging of the cell.
Declaration
public CellMerge HorizontalMerge { get; set; }
Property Value
Type |
---|
CellMerge |
Paddings
Gets paddings.
Declaration
public Paddings Paddings { get; }
Property Value
Type |
---|
Paddings |
TextWrap
Gets or sets a value indicating whether [text wrap].
Declaration
public bool TextWrap { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
VerticalAlignment
Gets/sets vertical alignment.
Declaration
public VerticalAlignment VerticalAlignment { get; set; }
Property Value
Type |
---|
VerticalAlignment |
VerticalMerge
Gets / sets the way of vertical merging of the cell.
Declaration
public CellMerge VerticalMerge { get; set; }
Property Value
Type |
---|
CellMerge |
Methods
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
InitXDLSHolder()
Declaration
protected override void InitXDLSHolder()
Overrides
ReadXmlAttributes(IXDLSAttributeReader)
Declaration
protected override void ReadXmlAttributes(IXDLSAttributeReader reader)
Parameters
Type | Name | Description |
---|---|---|
IXDLSAttributeReader | reader |
Overrides
WriteXmlAttributes(IXDLSAttributeWriter)
Declaration
protected override void WriteXmlAttributes(IXDLSAttributeWriter writer)
Parameters
Type | Name | Description |
---|---|---|
IXDLSAttributeWriter | writer |