New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

HtmlBuilder for the Avatar component

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class AvatarHtmlBuilder

Inheritance: objectAvatarHtmlBuilder

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

Initializes a new instance of the AvatarHtmlBuilder class.

C#
public AvatarHtmlBuilder(Avatar component)
Parameters:componentAvatar

The Avatar component.

Methods

Builds the Avatar markup.

C#
public IHtmlNode Build()
Returns:

IHtmlNode

HtmlElement

Create the HTML element for the component

C#
protected virtual IHtmlNode CreateElement()
Returns:

IHtmlNode

HtmlElement