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

Definition

Namespace:Telerik.WinControls.UI.Export.ExcelML

Assembly:TelerikData.dll

Syntax:

C#
public class SingleStyleElement : ElementBase, IElement

Inheritance: objectElementBaseSingleStyleElement

Implements: IElement

Inherited Members ElementBase.Render(StringBuilder)ElementBase.DeepCopy()ElementBase.InnerElementsElementBase.Attributes

Constructors

Creates new style element.

C#
public SingleStyleElement()

Creates new style element with specified ID.

C#
public SingleStyleElement(string id)
Parameters:idstring

Unique style identificator.

Properties

Get text alignment element (use to set text alignments).

C#
public AlignmentStyleElement AlignmentElement { get; }

Get border elements collection (use to add borders).

C#
public virtual IBorderStylesCollection Borders { get; }

Gets the closing tag for the element.

C#
protected override string EndTag { get; }

Overrides: ElementBase.EndTag

Get font style settings (use to change font settings).

C#
public virtual FontStyleElement FontStyle { get; }

Get or Set unique style identificator.

C#
public string Id { get; set; }

Get interior style element (use to change back color and color pattern).

C#
public virtual InteriorStyleElement InteriorStyle { get; }

Get number formatting element (use to set format).

C#
public NumberFormatStyleElement NumberFormat { get; }

Gets the opening tag format string for the element.

C#
protected override string StartTag { get; }

Overrides: ElementBase.StartTag

Methods

Appends serialized attributes 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)

Compare with other style element.

C#
public override bool Equals(object obj)
Parameters:objobject

SingleStyleElement to compare with.

Returns:

bool

True if they are equal

Overrides: object.Equals(object)

C#
public override int GetHashCode()
Returns:

int

Overrides: object.GetHashCode()

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)