Class NameSelector
Represents a name selector. Name selectors are used to apply customization to the element having the specified name. This behavior is very similar to that of CSS id selectors.
Inherited Members
Namespace: Telerik.WinControls
Assembly: Telerik.WinControls.dll
Syntax
public class NameSelector : HierarchicalSelector, IElementSelector
Constructors
NameSelector()
Initializes a new instance of the NameSelector class.
Declaration
public NameSelector()
NameSelector(String)
Initializes a new instance of the NameSelector class using the name of the element.
Declaration
public NameSelector(string elementName)
Parameters
System.String
elementName
|
Properties
CanUseCache
Declaration
protected override bool CanUseCache { get; }
Property Value
System.Boolean
|
Overrides
ElementName
Gets or sets the element's name. Customization is applied only to the element having this name.
Declaration
public string ElementName { 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
GetKey()
GetSelectorKey(String)
Declaration
public static int GetSelectorKey(string name)
Parameters
System.String
name
|
Returns
System.Int32
|
ToString()
Declaration
public override string ToString()
Returns
System.String
|