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

IElement

Interface

Represents an element that can render itself for HTML export.

Definition

Namespace:Telerik.WinControls.UI.Export.HTML

Assembly:TelerikData.dll

Syntax:

C#
public interface IElement

Properties

Gets the collection of HTML attributes for the element.

C#
IAttributesCollection Attributes { get; }

Gets the collection of CSS style declarations for the element.

C#
IStyleValuesCollection Styles { get; }

Methods

Renders the element content to the specified string builder.

C#
void Render(StringBuilder sb)
Parameters:sbStringBuilder

The string builder that receives the rendered output.

Applies styles to the element.

C#
void SetStyles(IStyleValuesCollection styles)
Parameters:stylesIStyleValuesCollection

The style values to apply.