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

Represents the target control to which RadSkinManager applies a skin.

Definition

Constructors

C#
public TargetControl()
C#
[SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public TargetControl(ControlTypeToApplySkin type, string skin)
Parameters:typeControlTypeToApplySkinskinstring
C#
[SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public TargetControl(string id, string value, bool enabled)
Parameters:idstringvaluestringenabledbool
C#
[SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public TargetControl(string id, string skin, ControlTypeToApplySkin type, bool enabled)
Parameters:idstringskinstringtypeControlTypeToApplySkinenabledbool
C#
[SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public TargetControl(string id, string skin, ControlTypeToApplySkin type)
Parameters:idstringskinstringtypeControlTypeToApplySkin
C#
[SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public TargetControl(string id, string value)
Parameters:idstringvaluestring
C#
[SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public TargetControl(string id)
Parameters:idstring

Properties

Gets or sets a string value representing the server ID of the target control.

C#
[TypeConverter(typeof(ControlIDConverter))]
public virtual string ControlID { get; set; }

Gets or sets a ControlTypeToApplySkin value representing the type of RadControls which will be targetted by the Skin setting.

C#
public ControlTypeToApplySkin ControlsToApplySkin { get; set; }

Gets or sets a value indicating whether skinning should be enabled or not.

C#
public virtual bool Enabled { get; set; }

Gets or sets a string value representing the skin which will be applied to the target control(s).

C#
public virtual string Skin { get; set; }

Methods

Returns a string value representing the Skin that should be applied to the passed skinnable control.

C#
public string ShouldApplySkinToControlType(ISkinnableControl control)
Parameters:controlISkinnableControl

An ISkinnableControl object to which the resolved skin would be applied.

Returns:

string

A string value representing the resolved Skin.