New to Telerik UI for ASP.NET AJAXStart a free 30-day trial

Properties

Avatar specific properties to customize its border radius, size, color, etc.

Getters

NameReturn typeDescription
get_alt()stringGets the alt attribute value of the image
get_border()boolGets the border value
get_className()stringGets the class name
get_fillMode()Telerik.Web.UI.RadAvatarFillModeGets the fill mode.
get_icon()stringGets the icon name
get_image()stringGets the image url
get_rounded()Telerik.Web.UI.RadAvatarRoundedGets the rounded value.
get_size()Telerik.Web.UI.RadAvatarSizeGets the size value.
get_text()stringGets the text.
get_themeColor()Telerik.Web.UI.RadAvatarThemeColorGets the theme color value.
get_type()Telerik.Web.UI.RadAvatarTypeGets the type value.

Setters

NameParameterDescription
set_alt(option)stringSets the alt attribute value of the image
set_border(option)boolSets the border value
set_className(option)stringSets the class name
set_fillMode(option)Telerik.Web.UI.RadAvatarFillModeSets the alt attribute value set for the
set_icon(option)stringSets the icon name
set_image(option)stringSets the image url
set_rounded(option)Telerik.Web.UI.RadAvatarRoundedSets the border value. Use this option show/hide the border.
set_size(option)Telerik.Web.UI.RadAvatarSizeSets the size value. Use this option to change the Avatar size.
set_text(option)stringSets the alt attribute value set for the
set_themeColor(option)Telerik.Web.UI.RadAvatarThemeColorSets the theme color value. Change the theme color with this option.
set_type(option)Telerik.Web.UI.RadAvatarTypeSets the type value. Use this to change the Avatar type.

Up next

See Also

In this article
GettersSettersUp nextSee Also
Not finding the help you need?
Contact Support