ClassNameSelector
Class
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.
Definition
Namespace:Telerik.WinControls
Assembly:Telerik.WinControls.dll
Syntax:
cs-api-definition
public class NameSelector : HierarchicalSelector, IElementSelector
Inheritance: objectSelectorBaseHierarchicalSelectorNameSelector
Implements:
Inherited Members
Constructors
NameSelector()
Initializes a new instance of the NameSelector class.
Declaration
cs-api-definition
public NameSelector()
NameSelector(string)
Initializes a new instance of the NameSelector class using the name of the element.
Properties
CanUseCache
Declaration
cs-api-definition
protected override bool CanUseCache { get; }
Property Value
Overrides
ElementName
Gets or sets the element's name. Customization is applied only to the element having this name.
Methods
Equals(IElementSelector)
Gets value indicating whether the selector Equals to the specified selector
Declaration
cs-api-definition
public override bool Equals(IElementSelector elementSelector)
Parameters
elementSelector
Returns
Overrides