ClassSelectorBase
Represents a base class for the HierarchicalSelector class. Selectors in telerik presentation framework are very similar to CSS selectors.
Definition
Namespace:Telerik.WinControls
Assembly:Telerik.WinControls.dll
Syntax:
public abstract class SelectorBase : IElementSelector
Inheritance: objectSelectorBase
Derived Classes:
Implements:
Constructors
SelectorBase()
Declaration
protected SelectorBase()
Fields
Properties
AutoUnapply
Gets or sets a value indicating whether auto-un-apply is on or off.
ChildSelector
Gets or sets the child selector.
Declaration
public IElementSelector ChildSelector { get; set; }
Property Value
Implements
Condition
Gets or sets the Condition upon which to apply the customization.
HasApplyCondition
Gets a value indicating whether the an apply condition is set.
Declaration
public virtual bool HasApplyCondition { get; }
Property Value
Implements
IsActiveSelectorInStyleBuilder
Gets or sets a value indicating whether the current selector is the active one in style builder
Declaration
public bool IsActiveSelectorInStyleBuilder { get; set; }
Property Value
UnapplyCondition
Gets or sets the condition upon which to un-apply the customization.
Declaration
public Condition UnapplyCondition { get; set; }
Property Value
Methods
Apply(RadObject, List<IPropertySetting>)
Applies the property settings to the given element. Method supports obsolete theming infrastructure.
Declaration
public void Apply(RadObject element, List<IPropertySetting> propertySettings)
Parameters
element
propertySettings
List<IPropertySetting>
Implements
CanSelect(RadObject)
Gets value indicating whether the selector applies to the specified element
CanSelectIgnoringConditions(RadObject)
Gets value indicating whether the selector applies to the specified element, without checking conditions that apply to properties of the element.
Equals(IElementSelector)
Gets value indicating whether the selector Equals to the specified selector
Declaration
public abstract bool Equals(IElementSelector elementSelector)
Parameters
elementSelector
Returns
Implements
GetBehaviors(PropertySettingGroup)
Method supports obsolete theming infrastructure
Declaration
public virtual PropertyChangeBehaviorCollection GetBehaviors(PropertySettingGroup group)
Parameters
group
Returns
Implements
GetSelectedElements(RadObject)
Retrieves an array of selected elements of the element given as an argument.
IsValueApplied(RadObject)
Retrieves a value indicating whether value is set for the element.
ShouldUnapply(RadObject)
Retrieves a value indicating whether the customization should be un-applied to the given element..