Class ElementSelector
Inheritance
Inherited Members
Namespace: Telerik.WinControls
Assembly: Telerik.WinControls.dll
Syntax
public class ElementSelector
Constructors
ElementSelector()
Initializes a new instance of the ElementSelector class.
Declaration
public ElementSelector()
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
System. The element state. |
ElementSelector(ElementSelector)
Initializes a new instance of the ElementSelector class by using an existing one.
Declaration
public ElementSelector(ElementSelector selector)
Parameters
Element 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
Element The selector type. |
System. The selector value |
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
Value
Gets or sets the selector value.
Declaration
public string Value { get; set; }
Property Value
System.
|
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
System.
|
Returns
System.
|
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
System.
|
Overrides
IsCompatible(ElementSelector)
Determines whether the selector is compatible with specific selector.
Declaration
public bool IsCompatible(ElementSelector selector)
Parameters
Element The selector. |
Returns
System. true if successfull. |
IsCompatible(RadObject)
Determines whether the selector is compatible with the specified element.
Declaration
public virtual bool IsCompatible(RadObject element)
Parameters
Rad The element to compare with. |
Returns
System. true if the element is compatible. |
IsValid(RadObject, String)
Determines whether the selector is valid an element with specific state.
Declaration
public virtual bool IsValid(RadObject testElement, string state)
Parameters
Rad The element to compare with. |
System. The element state. |
Returns
System. true if the selector is valid. |