Interface
IControlLocator

This interface is implemented by classes that want to locators for specific controls.

Definition

Namespace:ArtOfTest.Common.Design.Extensibility

Assembly:ArtOfTest.WebAii.Design.dll

Syntax:

cs-api-definition
public interface IControlLocator : IInterfaceInterrogator

Derived Classes: BaseLocatorHtmlActionTranslatorBaseXamlActionTranslatorBaseAutoCompleteBoxTranslatorButtonTranslatorCalendarTranslatorCheckBoxTranslatorComboBoxItemTranslatorComboBoxTranslatorDataGridCellTranslatorDataGridRowTranslatorDataGridRowsPresenterTranslatorDataGridTranslatorDatePickerTextBoxTranslatorGridSplitterTranslatorHyperlinkButtonTranslatorListBoxItemTranslatorListBoxTranslatorPasswordBoxTranslatorPathTranslatorRadioButtonTranslatorRepeatButtonTranslatorRichTextAreaTranslatorSliderTranslatorTabControlTranslatorTabItemTranslatorTextBlockTranslatorTextBoxTranslatorToggleButtonTranslatorTreeViewItemTranslatorTreeViewTranslatorVirtualizingStackPanelTranslator

Inherited Members IInterfaceInterrogator.UICueProviderIInterfaceInterrogator.VerificationProviderIInterfaceInterrogator.ActionTranslatorIInterfaceInterrogator.MatchMaskIInterfaceInterrogator.HasActionTranslatorIInterfaceInterrogator.HasUICueProviderIInterfaceInterrogator.HasVerificationProvider

Properties

ControlType

The type of the control locator.

Declaration

cs-api-definition
Type ControlType { get; }

Property Value

Type

Enabled

True/False whether the recording for this control is enabled/disabled

Declaration

cs-api-definition
bool Enabled { get; set; }

Property Value

bool

IdentifyAsContainer

True/False whether to match this control for any of its children. If set to false, only exact matches to FindParam returned by Locators will be passed into this translator

Declaration

cs-api-definition
bool IdentifyAsContainer { get; }

Property Value

bool

IdentifyColor

Identify Color for this locator.

Declaration

cs-api-definition
Color IdentifyColor { get; }

Property Value

Color

IdentifyIcon

Identify Icon for this locator

Declaration

cs-api-definition
Image IdentifyIcon { get; }

Property Value

Image

Locators

Get this control locator.

Declaration

cs-api-definition
IFindExpression[] Locators { get; }

Property Value

IFindExpression[]

Name

The name of this translator.

Declaration

cs-api-definition
string Name { get; }

Property Value

string

TechnologyType

Control technology type.

Declaration

cs-api-definition
TechnologyType TechnologyType { get; }

Property Value

TechnologyType

TelerikComponentsVersion

The Telerik Components version which should be used by the locator

Declaration

cs-api-definition
TelerikComponentsVersion TelerikComponentsVersion { get; set; }

Property Value

TelerikComponentsVersion

Methods

OnAfterContextMenuHide(ITargetElement, ITargetElement)

This method is called right after the designer hides the context menu.

Declaration

cs-api-definition
void OnAfterContextMenuHide(ITargetElement locatorElement, ITargetElement targetElement)

Parameters

locatorElement

ITargetElement

The translator locator element.

targetElement

ITargetElement

The target element.

OnBeforeContextMenuShow(ITargetElement, ITargetElement)

This method is called right before the designer context menu is about to be shown.

Declaration

cs-api-definition
void OnBeforeContextMenuShow(ITargetElement locatorElement, ITargetElement targetElement)

Parameters

locatorElement

ITargetElement

The translator locator element.

targetElement

ITargetElement

The target element.

ProvideCustomElementData(ITargetElement, ITargetElement)

Provide custom data to be used for generating element descriptors.

Declaration

cs-api-definition
CustomElementData ProvideCustomElementData(ITargetElement locatorElement, ITargetElement targetElement)

Parameters

locatorElement

ITargetElement

The translator locator element.

targetElement

ITargetElement

The target element.

Returns

CustomElementData

Data needed to customize element descriptor.