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 StyleElement : ElementBase, IElement

Inheritance: objectElementBaseStyleElement

Implements: IElement

Inherited Members ElementBase.SetStyles(IStyleValuesCollection)ElementBase.Render(StringBuilder)ElementBase.Attributes

Constructors

C#
public StyleElement()

Properties

Gets the closing tag for the element.

C#
protected override string EndTag { get; }

Overrides: ElementBase.EndTag

Gets the opening tag format string for the element.

C#
protected override string StartTag { get; }

Overrides: ElementBase.StartTag

This element cannot have styles collection

C#
public override IStyleValuesCollection Styles { get; }

Overrides: ElementBase.Styles

C#
public Dictionary<string, StyleValuesCollection> StyleValues { get; }

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)

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)