Class TypeSelector
Represents a type selector. Type selectors are used to apply the same customization to all elements of the same type. Behavior is very similar to that of the CSS type selectors.
Inherited Members
Namespace: Telerik.WinControls
Assembly: Telerik.WinControls.dll
Syntax
public class TypeSelector : HierarchicalSelector, IElementSelector
Constructors
TypeSelector()
Initializes a new instance of the TypeSelector class.
Declaration
public TypeSelector()
TypeSelector(Type)
Initializes a new instance of the TypeSelector class using the type that will be affected.
Declaration
public TypeSelector(Type elementType)
Parameters
|
System.Type
elementType
|
TypeSelector(Type, Condition)
Declaration
public TypeSelector(Type elementType, Condition condition)
Parameters
|
System.Type
elementType
|
|
Condition
condition
|
Properties
CanUseCache
Declaration
protected override bool CanUseCache { get; }
Property Value
|
System.Boolean
|
Overrides
ElementType
Gets or sets the element type that will be affected by the Type selector.
Declaration
public Type ElementType { get; set; }
Property Value
|
System.Type
|
Methods
CanSelectOverride(RadObject)
Declaration
protected override bool CanSelectOverride(RadObject element)
Parameters
|
RadObject
element
|
Returns
|
System.Boolean
|
Overrides
Equals(IElementSelector)
Declaration
public override bool Equals(IElementSelector elementSelector)
Parameters
|
IElementSelector
elementSelector
|
Returns
|
System.Boolean
|
Overrides
FindElements(IDictionary)
Declaration
protected override LinkedList<RadObject> FindElements(IDictionary ChildrenHierarchyByElement)
Parameters
|
System.Collections.IDictionary
ChildrenHierarchyByElement
|
Returns
|
System.Collections.Generic.LinkedList<RadObject>
|
Overrides
GetKey()
ToString()
Declaration
public override string ToString()
Returns
|
System.String
|