NameSelector
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:
C#
public class NameSelector : HierarchicalSelector, IElementSelector
Inheritance: objectSelectorBaseHierarchicalSelectorNameSelector
Implements:
Inherited Members
Constructors
Initializes a new instance of the NameSelector class.
C#
public NameSelector()
Initializes a new instance of the NameSelector class using the name of the element.
Properties
C#
protected override bool CanUseCache { get; }
Overrides:
Gets or sets the element's name. Customization is applied only to the element having this name.
C#
public string ElementName { get; set; }
Methods
Gets value indicating whether the selector Equals to the specified selector
C#
public override bool Equals(IElementSelector elementSelector)
Overrides: