New to Telerik UI for WinForms? Start a free 30-day trial

Definition

Namespace:Telerik.WinControls.UI.Export.HTML

Assembly:TelerikData.dll

Syntax:

C#
public class CellElement : ElementBase, IElement

Inheritance: objectElementBaseCellElement

Implements: IElement

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

Constructors

C#
public CellElement()
C#
public CellElement(bool isHeaderCell)
Parameters:isHeaderCellbool

Properties

C#
public ContentAlignment Alignment { get; set; }

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

C#
public bool AlwaysApplyAlign { set; }

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

C#
public CellWhiteSpace CellWhiteSpace { get; set; }
C#
public int Colspan { get; set; }

Gets the closing tag for the element.

C#
protected override string EndTag { get; }

Overrides: ElementBase.EndTag

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

C#
public bool EscapeHTMLChars { get; set; }
C#
public int Rowspan { get; set; }

Gets the opening tag format string for the element.

C#
protected override string StartTag { get; }

Overrides: ElementBase.StartTag

C#
public string Value { get; set; }

Methods

Appends serialized attributes and styles to the opening tag output.

C#
protected override void AppendAttributes(StringBuilder sb)
Parameters:sbStringBuilder

The string builder that receives the rendered output.

Overrides: ElementBase.AppendAttributes(StringBuilder)

C#
public static string EscapeSpecialHTMLChars(CellElement cell)
Parameters:cellCellElementReturns:

string

Renders all child elements to the specified string builder.

C#
protected override void RenderChildElements(StringBuilder sb)
Parameters:sbStringBuilder

The string builder that receives the rendered output.

Overrides: ElementBase.RenderChildElements(StringBuilder)