Class
CellElement

Definition

Namespace:Telerik.WinControls.UI.Export.HTML

Assembly:TelerikData.dll

Syntax:

cs-api-definition
public class CellElement : ElementBase, IElement

Inheritance: objectElementBaseCellElement

Implements: IElement

Inherited Members ElementBase.SetStyles(IStyleValuesCollection)ElementBase.Render(StringBuilder)ElementBase.AttributesElementBase.Styles

Constructors

CellElement()

Declaration

cs-api-definition
public CellElement()

CellElement(bool)

Declaration

cs-api-definition
public CellElement(bool isHeaderCell)

Parameters

isHeaderCell

bool

Properties

Alignment

Declaration

cs-api-definition
public ContentAlignment Alignment { get; set; }

Property Value

ContentAlignment

AlwaysApplyAlign

Add align attributes even if they are equal to default ones (Middle|Left)

Declaration

cs-api-definition
public bool AlwaysApplyAlign { set; }

Property Value

bool

CellWhiteSpace

Gets or sets a value indicating how the white spaces in the cell will be handled.

Declaration

cs-api-definition
public CellWhiteSpace CellWhiteSpace { get; set; }

Property Value

CellWhiteSpace

Colspan

Declaration

cs-api-definition
public int Colspan { get; set; }

Property Value

int

EndTag

Declaration

cs-api-definition
protected override string EndTag { get; }

Property Value

string

Overrides ElementBase.EndTag

EscapeHTMLChars

Gets or sets a value indicating if special HTML characters should be escaped.

Declaration

cs-api-definition
public bool EscapeHTMLChars { get; set; }

Property Value

bool

Rowspan

Declaration

cs-api-definition
public int Rowspan { get; set; }

Property Value

int

StartTag

Declaration

cs-api-definition
protected override string StartTag { get; }

Property Value

string

Overrides ElementBase.StartTag

Value

Declaration

cs-api-definition
public string Value { get; set; }

Property Value

string

Methods

AppendAttributes(StringBuilder)

Declaration

cs-api-definition
protected override void AppendAttributes(StringBuilder sb)

Parameters

sb

StringBuilder

Overrides ElementBase.AppendAttributes(StringBuilder)

EscapeSpecialHTMLChars(CellElement)

Declaration

cs-api-definition
public static string EscapeSpecialHTMLChars(CellElement cell)

Parameters

cell

CellElement

Returns

string

RenderChildElements(StringBuilder)

Declaration

cs-api-definition
protected override void RenderChildElements(StringBuilder sb)

Parameters

sb

StringBuilder

Overrides ElementBase.RenderChildElements(StringBuilder)