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.
|
TypeSelector(Type, Condition)
Declaration
public TypeSelector(Type elementType, Condition condition)
Parameters
System.
|
Condition
condition
|
Properties
CanUseCache
Declaration
protected override bool CanUseCache { get; }
Property Value
System.
|
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.
|
Methods
CanSelectOverride(RadObject)
Declaration
protected override bool CanSelectOverride(RadObject element)
Parameters
Rad
|
Returns
System.
|
Overrides
Equals(IElementSelector)
Declaration
public override bool Equals(IElementSelector elementSelector)
Parameters
IElement
|
Returns
System.
|
Overrides
FindElements(IDictionary)
Declaration
protected override LinkedList<RadObject> FindElements(IDictionary ChildrenHierarchyByElement)
Parameters
System.
|
Returns
System.
|
Overrides
GetKey()
ToString()
Declaration
public override string ToString()
Returns
System.
|