Class ClassSelector
Represents a class selector. Class selectors are used to apply the same customization to all elements that belong to the same class. This behavior is very similar to that of the CSS class selectors.
Inherited Members
Namespace: Telerik.WinControls
Assembly: Telerik.WinControls.dll
Syntax
public class ClassSelector : HierarchicalSelector, IElementSelector
Constructors
ClassSelector()
Initializes a new instance of the class selector class.
Declaration
public ClassSelector()
ClassSelector(String)
Initializes a new instance of the class selector class using string for the class name.
Declaration
public ClassSelector(string elementClass)
Parameters
System.String
elementClass
|
ClassSelector(String, Condition)
Declaration
public ClassSelector(string className, Condition condition)
Parameters
System.String
className
|
Condition
condition
|
Properties
CanUseCache
Declaration
protected override bool CanUseCache { get; }
Property Value
System.Boolean
|
Overrides
ElementClass
Gets or sets a value indicating the class name.
Declaration
public string ElementClass { get; set; }
Property Value
System.String
|
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()
GetSelectedElements(RadObject)
Declaration
public override LinkedList<RadObject> GetSelectedElements(RadObject element)
Parameters
RadObject
element
|
Returns
System.Collections.Generic.LinkedList<RadObject>
|
Overrides
GetSelectorKey(String)
Declaration
public static int GetSelectorKey(string elementClass)
Parameters
System.String
elementClass
|
Returns
System.Int32
|
ToString()
Declaration
public override string ToString()
Returns
System.String
|