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

Provides a base implementation for CSV export elements.

Definition

Namespace:Telerik.WinControls.UI.Export.CSV

Assembly:TelerikData.dll

Syntax:

C#
public abstract class ElementBase : IElement

Inheritance: objectElementBase

Derived Classes: CellElementRowElementTableElement

Implements: IElement

Constructors

Initializes a new instance of the ElementBase class.

C#
protected ElementBase()

Initializes a new instance of the ElementBase class with a child elements collection.

C#
public ElementBase(IElementsCollection elementsCollection)
Parameters:elementsCollectionIElementsCollection

The collection used to store child elements.

Properties

Gets the collection of child elements.

C#
public virtual IElementsCollection InnerElements { get; }

Implements: IElement.InnerElements

Methods

Renders the element to the specified string builder.

C#
public virtual void Render(StringBuilder sb)
Parameters:sbStringBuilder

The string builder that receives the rendered output.

Implements: IElement.Render(StringBuilder)

Renders all child elements to the specified string builder.

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

The string builder that receives the rendered output.