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

A collection of TargetControl instances.

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public class TargetControlCollection : StronglyTypedStateManagedCollection<TargetControl>, IList, ICollection, IEnumerable, IStateManager

Inheritance: objectStateManagedCollectionStronglyTypedStateManagedCollection<TargetControl>TargetControlCollection

Implements: ICollectionIEnumerableIListIStateManager

Inherited Members StronglyTypedStateManagedCollection<TargetControl>.Contains(TargetControl)StronglyTypedStateManagedCollection<TargetControl>.CopyTo(TargetControl[], int)StronglyTypedStateManagedCollection<TargetControl>.AddRange(IEnumerable<TargetControl>)StronglyTypedStateManagedCollection<TargetControl>.IndexOf(TargetControl)StronglyTypedStateManagedCollection<TargetControl>.Insert(int, TargetControl)StronglyTypedStateManagedCollection<TargetControl>.Remove(TargetControl)StronglyTypedStateManagedCollection<TargetControl>.RemoveAt(int)StronglyTypedStateManagedCollection<TargetControl>.this[int]StronglyTypedStateManagedCollection<TargetControl>.ListStateManagedCollection.Clear()StateManagedCollection.CopyTo(Array, int)StateManagedCollection.CreateKnownType(int)StateManagedCollection.GetEnumerator()StateManagedCollection.GetKnownTypes()StateManagedCollection.OnClear()StateManagedCollection.OnClearComplete()StateManagedCollection.OnValidate(object)StateManagedCollection.OnInsert(int, object)StateManagedCollection.OnInsertComplete(int, object)StateManagedCollection.OnRemove(int, object)StateManagedCollection.OnRemoveComplete(int, object)StateManagedCollection.SetDirty()StateManagedCollection.Countobject.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Constructors

C#
public TargetControlCollection()

Methods

Adds a TargetControl to the collection providing the type of RadControls that will be skinned along with a string value representing the Skin value.

C#
public virtual void Add(ControlTypeToApplySkin type, string skin)
Parameters:typeControlTypeToApplySkin

A ControlTypeToApplySkin value, representing the type of controls that will be skinned.

skinstring

A string representing the applied Skin.

Adds a TargetControl with the provided string ID to the collection and sets it a Skin value.

C#
public virtual void Add(string id, string value, bool enabled)
Parameters:idstring

A string representing the control ID.

valuestring

A string representing the applied Skin.

enabledbool

A boolean value indicating whether skinning should be enabled.

Adds a TargetControl with the provided string ID to the collection and sets it a Skin value.

C#
public virtual void Add(string id, string value)
Parameters:idstring

A string representing the control ID.

valuestring

A string representing the applied Skin.

Adds a TargetControl with the provided string ID to the collection.

C#
public virtual void Add(string id)
Parameters:idstring

A string representing the control ID.

Adds a passed Target control reference to the collection.

C#
public virtual void Add(TargetControl control)
Parameters:controlTargetControl

A TargetControl object to add to the collection.

Returns a string value representing the skin to be applied to a given type of control.

C#
public string ContainsType(ISkinnableControl skinnableControl)
Parameters:skinnableControlISkinnableControl

An ISkinnableControl to check the skin for.

Returns:

string

A string representing the resolved skin.

C#
protected override void SetDirtyObject(object o)
Parameters:oobject

Overrides: StronglyTypedStateManagedCollection<TargetControl>.SetDirtyObject(object)