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.String
elementState
The element state. |
ElementSelector(ElementSelector)
Initializes a new instance of the ElementSelector class by using an existing one.
Declaration
public ElementSelector(ElementSelector selector)
Parameters
ElementSelector
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
ElementSelectorTypes
type
The selector type. |
System.String
value
The selector value |
Properties
ChildSelector
Gets or sets the child selector.
Declaration
public ElementSelector ChildSelector { get; set; }
Property Value
ElementSelector
|
Type
Gets or sets the selector type.
Declaration
public ElementSelectorTypes Type { get; set; }
Property Value
ElementSelectorTypes
|
Value
Gets or sets the selector value.
Declaration
public string Value { get; set; }
Property Value
System.String
|
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
|
Returns
System.Boolean
|
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
System.Int32
|
Overrides
IsCompatible(ElementSelector)
Determines whether the selector is compatible with specific selector.
Declaration
public bool IsCompatible(ElementSelector selector)
Parameters
ElementSelector
selector
The selector. |
Returns
System.Boolean
true if successfull. |
IsCompatible(RadObject)
Determines whether the selector is compatible with the specified element.
Declaration
public virtual bool IsCompatible(RadObject element)
Parameters
RadObject
element
The element to compare with. |
Returns
System.Boolean
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
RadObject
testElement
The element to compare with. |
System.String
state
The element state. |
Returns
System.Boolean
true if the selector is valid. |