Class SelectorBase
Represents a base class for the HierarchicalSelector class. Selectors in telerik presentation framework are very similar to CSS selectors.
Inheritance
Inherited Members
Namespace: Telerik.WinControls
Assembly: Telerik.WinControls.dll
Syntax
public abstract class SelectorBase : IElementSelector
Constructors
SelectorBase()
Declaration
protected SelectorBase()
Fields
ExcludeSelector
Properties
AutoUnapply
Gets or sets a value indicating whether auto-un-apply is on or off.
Declaration
public bool AutoUnapply { get; set; }
Property Value
System.Boolean
|
ChildSelector
Declaration
public IElementSelector ChildSelector { get; set; }
Property Value
IElementSelector
|
Implements
Condition
Gets or sets the Condition upon which to apply the customization.
Declaration
public Condition Condition { get; set; }
Property Value
Condition
|
DisableStyle
Declaration
public bool DisableStyle { get; set; }
Property Value
System.Boolean
|
HasApplyCondition
Gets a value indicating whether the an apply condition is set.
Declaration
public virtual bool HasApplyCondition { get; }
Property Value
System.Boolean
|
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
System.Boolean
|
UnapplyCondition
Gets or sets the condition upon which to un-apply the customization.
Declaration
public Condition UnapplyCondition { get; set; }
Property Value
Condition
|
Methods
Apply(RadObject, List<IPropertySetting>)
Declaration
public void Apply(RadObject element, List<IPropertySetting> propertySettings)
Parameters
RadObject
element
|
System.Collections.Generic.List<IPropertySetting>
propertySettings
|
Implements
CanSelect(RadObject)
Declaration
public virtual bool CanSelect(RadObject targetElement)
Parameters
RadObject
targetElement
|
Returns
System.Boolean
|
Implements
CanSelectCore(RadObject)
Declaration
protected virtual bool CanSelectCore(RadObject onElement)
Parameters
RadObject
onElement
|
Returns
System.Boolean
|
CanSelectIgnoringConditions(RadObject)
Declaration
public bool CanSelectIgnoringConditions(RadObject targetElement)
Parameters
RadObject
targetElement
|
Returns
System.Boolean
|
Implements
CanSelectOverride(RadObject)
Declaration
protected virtual bool CanSelectOverride(RadObject element)
Parameters
RadObject
element
|
Returns
System.Boolean
|
Equals(IElementSelector)
Declaration
public abstract bool Equals(IElementSelector elementSelector)
Parameters
IElementSelector
elementSelector
|
Returns
System.Boolean
|
Implements
GetBehaviors(PropertySettingGroup)
Declaration
public virtual PropertyChangeBehaviorCollection GetBehaviors(PropertySettingGroup group)
Parameters
PropertySettingGroup
group
|
Returns
PropertyChangeBehaviorCollection
|
Implements
GetKey()
Declaration
protected abstract int GetKey()
Returns
System.Int32
|
GetSelectedElements(RadObject)
Declaration
public abstract LinkedList<RadObject> GetSelectedElements(RadObject element)
Parameters
RadObject
element
|
Returns
System.Collections.Generic.LinkedList<RadObject>
|
Implements
IsValueApplied(RadObject)
Retrieves a value indicating whether value is set for the element.
Declaration
public bool IsValueApplied(RadObject element)
Parameters
RadObject
element
|
Returns
System.Boolean
|
IsValueUnapplied(RadObject)
Declaration
public bool IsValueUnapplied(RadObject element)
Parameters
RadObject
element
|
Returns
System.Boolean
|
ShouldUnapply(RadObject)
Retrieves a value indicating whether the customization should be un-applied to the given element..
Declaration
public virtual bool ShouldUnapply(RadObject onElement)
Parameters
RadObject
onElement
|
Returns
System.Boolean
|
Explicit Interface Implementations
IElementSelector.AddConditionPropertiesToList(List<RadProperty>)
Declaration
void IElementSelector.AddConditionPropertiesToList(List<RadProperty> list)
Parameters
System.Collections.Generic.List<RadProperty>
list
|