InterfaceIElementSelector
Exposes methods and properties required for a general selector. Selectors in telerik presentation framework are like CSS selectors.
Definition
Namespace:Telerik.WinControls
Assembly:Telerik.WinControls.dll
Syntax:
public interface IElementSelector
Properties
ChildSelector
Gets or sets the child selector.
Declaration
IElementSelector ChildSelector { get; set; }
Property Value
HasApplyCondition
Gets a value indicating whether a condition has been applied.
Methods
AddConditionPropertiesToList(List<RadProperty>)
Method supports obsolete theming infrastructure. If HasApplyCondition returns true, this method should add the RadProperties that the selector depends, so style manager can refresh affected element by the selector selector, when property changes
Declaration
void AddConditionPropertiesToList(List<RadProperty> list)
Parameters
list
List<RadProperty>
Apply(RadObject, List<IPropertySetting>)
Applies the property settings to the given element. Method supports obsolete theming infrastructure.
Declaration
void Apply(RadObject element, List<IPropertySetting> propertySettings)
Parameters
element
propertySettings
List<IPropertySetting>
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
bool Equals(IElementSelector selector)
Parameters
selector
Returns
GetBehaviors(PropertySettingGroup)
Method supports obsolete theming infrastructure
Declaration
PropertyChangeBehaviorCollection GetBehaviors(PropertySettingGroup group)
Parameters
group
Returns
GetSelectedElements(RadObject)
Retrieves an array of selected elements of the element given as an argument.