ClassElementSelector
Definition
Namespace:Telerik.WinControls
Assembly:Telerik.WinControls.dll
Syntax:
public class ElementSelector
Inheritance: objectElementSelector
Derived Classes:
Constructors
ElementSelector()
Initializes a new instance of the ElementSelector class.
Declaration
public ElementSelector()
ElementSelector(ElementSelector)
Initializes a new instance of the ElementSelector class by using an existing one.
Declaration
public ElementSelector(ElementSelector selector)
Parameters
selector
The ElementSelector to be used as a source.
ElementSelector(ElementSelectorTypes, string)
Initializes a new instance of the ElementSelector class by specifying selector properties.
Declaration
public ElementSelector(ElementSelectorTypes type, string value)
Parameters
type
The selector type.
value
The selector value
ElementSelector(string)
Initializes a new instance of the ElementSelector class by specifying element state. Sets thw type property to VisualStateSelector.
Declaration
public ElementSelector(string elementState)
Parameters
elementState
The element state.
Properties
ChildSelector
Gets or sets the child selector.
Declaration
public ElementSelector ChildSelector { get; set; }
Property Value
Type
Gets or sets the selector type.
Declaration
public ElementSelectorTypes Type { get; set; }
Property Value
Methods
IsCompatible(ElementSelector)
Determines whether the selector is compatible with specific selector.
Declaration
public bool IsCompatible(ElementSelector selector)
Parameters
selector
The selector.
Returns
true if successfull.
IsCompatible(RadObject)
Determines whether the selector is compatible with the specified element.
IsValid(RadObject, string)
Determines whether the selector is valid an element with specific state.