Interface
IElementSelector

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:

cs-api-definition
public interface IElementSelector

Properties

ChildSelector

Gets or sets the child selector.

Declaration

cs-api-definition
IElementSelector ChildSelector { get; set; }

Property Value

IElementSelector

HasApplyCondition

Gets a value indicating whether a condition has been applied.

Declaration

cs-api-definition
bool HasApplyCondition { get; }

Property Value

bool

Key

Selector Key

Declaration

cs-api-definition
int Key { get; }

Property Value

int

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

cs-api-definition
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

cs-api-definition
void Apply(RadObject element, List<IPropertySetting> propertySettings)

Parameters

element

RadObject

propertySettings

List<IPropertySetting>

CanSelect(RadObject)

Gets value indicating whether the selector applies to the specified element

Declaration

cs-api-definition
bool CanSelect(RadObject targetElement)

Parameters

targetElement

RadObject

Returns

bool

CanSelectIgnoringConditions(RadObject)

Gets value indicating whether the selector applies to the specified element, without checking conditions that apply to properties of the element.

Declaration

cs-api-definition
bool CanSelectIgnoringConditions(RadObject targetElement)

Parameters

targetElement

RadObject

Returns

bool

Equals(IElementSelector)

Gets value indicating whether the selector Equals to the specified selector

Declaration

cs-api-definition
bool Equals(IElementSelector selector)

Parameters

selector

IElementSelector

Returns

bool

GetBehaviors(PropertySettingGroup)

Method supports obsolete theming infrastructure

Declaration

cs-api-definition
PropertyChangeBehaviorCollection GetBehaviors(PropertySettingGroup group)

Parameters

group

PropertySettingGroup

Returns

PropertyChangeBehaviorCollection

GetSelectedElements(RadObject)

Retrieves an array of selected elements of the element given as an argument.

Declaration

cs-api-definition
LinkedList<RadObject> GetSelectedElements(RadObject element)

Parameters

element

RadObject

Returns

LinkedList<RadObject>