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

A class wrapper for WebControl decoration properties. This class can be used for a control's inner property in the markup.

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public class WebControlDecorator

Inheritance: objectWebControlDecorator

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

Constructors

C#
public WebControlDecorator(WebControl c)
Parameters:cWebControl

Properties

Gets or sets the access key that allows you to quickly navigate to the control.

C#
public string AccessKey { get; set; }

Gets or sets the background color of the control.

C#
public Color BackColor { get; set; }

Gets or sets the border color of the control.

C#
public Color BorderColor { get; set; }

Gets or sets the border style of the control.

C#
public BorderStyle BorderStyle { get; set; }

Gets or sets the border width of the control.

C#
public Unit BorderWidth { get; set; }

Gets or sets the Cascading Style Sheet (CSS) class rendered by the control.

C#
public string CssClass { get; set; }

Gets the font properties associated with the control.

C#
public FontInfo Font { get; }

Gets or sets the foreground color (typically the color of the text) of the control.

C#
public Color ForeColor { get; set; }

Gets or sets the height of the control.

C#
public Unit Height { get; set; }

Gets or sets the tab index of the control.

C#
public short TabIndex { get; set; }

Gets or sets the text displayed when the mouse pointer hovers over the control.

C#
public string ToolTip { get; set; }

Gets or sets the width of the control.

C#
public Unit Width { get; set; }