TableStyleCellProperties Class
TableStyleCellProperties is used for representing formatting properties of the table.
Inheritance
System.Object
Syncfusion.DocIO.DLS.XML.XDLSSerializableBase
TableStyleCellProperties
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.DocIO.DLS
Assembly: Syncfusion.DocIO.Base.dll
Syntax
public class TableStyleCellProperties : FormatBase, IXDLSSerializable
Properties
BackColor
Gets/sets the background color.
Declaration
public Color BackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
Borders
Gets the borders.
Declaration
public Borders Borders { get; }
Property Value
Type |
---|
Borders |
ForeColor
Gets/sets the foreground color.
Declaration
public Color ForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
Paddings
Gets the paddings.
Declaration
public Paddings Paddings { get; }
Property Value
Type |
---|
Paddings |
TextureStyle
Gets or sets the texture style.
Declaration
public TextureStyle TextureStyle { get; set; }
Property Value
Type | Description |
---|---|
TextureStyle | The texture style. |
TextWrap
Gets or sets a boolean value indicating whether to wrap text in cell or not.
Declaration
public bool TextWrap { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
VerticalAlignment
Gets/sets vertical alignment of the cell.
Declaration
public VerticalAlignment VerticalAlignment { get; set; }
Property Value
Type |
---|
VerticalAlignment |
Methods
EnsureComposites()
Ensures the composites.
Declaration
protected override void EnsureComposites()
Overrides
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
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. |