Class
SingleStyleElement

Definition

Namespace:Telerik.WinControls.UI.Export.ExcelML

Assembly:TelerikData.dll

Syntax:

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

Inheritance: objectElementBaseSingleStyleElement

Implements: IElement

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

Constructors

SingleStyleElement()

Creates new style element.

Declaration

cs-api-definition
public SingleStyleElement()

SingleStyleElement(string)

Creates new style element with specified ID.

Declaration

cs-api-definition
public SingleStyleElement(string id)

Parameters

id

string

Unique style identificator.

Properties

AlignmentElement

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

Declaration

cs-api-definition
public AlignmentStyleElement AlignmentElement { get; }

Property Value

AlignmentStyleElement

Borders

Get border elements collection (use to add borders).

Declaration

cs-api-definition
public virtual IBorderStylesCollection Borders { get; }

Property Value

IBorderStylesCollection

EndTag

Declaration

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

Property Value

string

Overrides ElementBase.EndTag

FontStyle

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

Declaration

cs-api-definition
public virtual FontStyleElement FontStyle { get; }

Property Value

FontStyleElement

Id

Get or Set unique style identificator.

Declaration

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

Property Value

string

InteriorStyle

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

Declaration

cs-api-definition
public virtual InteriorStyleElement InteriorStyle { get; }

Property Value

InteriorStyleElement

NumberFormat

Get number formatting element (use to set format).

Declaration

cs-api-definition
public NumberFormatStyleElement NumberFormat { get; }

Property Value

NumberFormatStyleElement

StartTag

Declaration

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

Property Value

string

Overrides ElementBase.StartTag

Methods

AppendAttributes(StringBuilder)

Declaration

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

Parameters

sb

StringBuilder

Overrides ElementBase.AppendAttributes(StringBuilder)

Equals(object)

Compare with other style element.

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

SingleStyleElement to compare with.

Returns

bool

True if they are equal

Overrides object.Equals(object)

GetHashCode()

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

Overrides object.GetHashCode()

RenderChildElements(StringBuilder)

Declaration

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

Parameters

sb

StringBuilder

Overrides ElementBase.RenderChildElements(StringBuilder)