TargetControl
Class
Represents the target control to which RadSkinManager applies a skin.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
C#
public class TargetControl : StateManager, IMarkableStateManager, IStateManager
Inheritance: objectStateManagerTargetControl
Implements:
Inherited Members
Constructors
C#
public TargetControl()
C#
[SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public TargetControl(ControlTypeToApplySkin type, string skin)
C#
[SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public TargetControl(string id, string skin, ControlTypeToApplySkin type, bool enabled)
C#
[SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public TargetControl(string id, string skin, ControlTypeToApplySkin type)
C#
[SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public TargetControl(string id)
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; }
Methods
Returns a string value representing the Skin that should be applied to the passed skinnable control.
C#
public string ShouldApplySkinToControlType(ISkinnableControl control)
An ISkinnableControl object to which the resolved skin would be applied.
Returns:A string value representing the resolved Skin.