ElementBase
Provides a base implementation for ExcelML export elements.
Definition
Namespace:Telerik.WinControls.UI.Export.ExcelML
Assembly:TelerikData.dll
Syntax:
[DataContract]
[KnownType(typeof(AlignmentStyleElement))]
[KnownType(typeof(FontStyleElement))]
[KnownType(typeof(BorderStyles))]
[KnownType(typeof(InteriorStyleElement))]
[KnownType(typeof(NumberFormatStyleElement))]
[KnownType(typeof(SingleStyleElement))]
[KnownType(typeof(BorderStylesCollection))]
public abstract class ElementBase : IElement
Inheritance: objectElementBase
Derived Classes:
Implements:
Constructors
Initializes a new instance of the ElementBase class.
protected ElementBase()
Initializes a new instance of the ElementBase class with custom collections.
public ElementBase(IElementsCollection elementsCollection, IAttributesCollection attributesCollection)
The collection of child elements.
attributesCollectionIAttributesCollectionThe collection of element attributes.
Properties
Gets the collection of element attributes.
public virtual IAttributesCollection Attributes { get; }
Implements:
Gets the collection of child elements.
public virtual IElementsCollection InnerElements { get; }
Implements:
Methods
Appends serialized attributes to the opening tag output.
protected virtual void AppendAttributes(StringBuilder sb)
The string builder that receives the rendered output.
Creates a deep copy of the current element.
public virtual object DeepCopy()
A deep-cloned copy of the current element instance.
Renders the element to the specified string builder.
public virtual void Render(StringBuilder sb)
The string builder that receives the rendered output.
Implements:
Renders all child elements to the specified string builder.
protected virtual void RenderChildElements(StringBuilder sb)
The string builder that receives the rendered output.