InterfaceIControlLocator
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:
public interface IControlLocator : IInterfaceInterrogator
Derived Classes:
Inherited Members
Properties
ControlType
The type of the control locator.
Enabled
True/False whether the recording for this control is enabled/disabled
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
IdentifyColor
Identify Color for this locator.
IdentifyIcon
Identify Icon for this locator
Locators
Get this control locator.
Declaration
IFindExpression[] Locators { get; }
Property Value
IFindExpression[]
Name
The name of this translator.
TechnologyType
Control technology type.
TelerikComponentsVersion
The Telerik Components version which should be used by the locator
Declaration
TelerikComponentsVersion TelerikComponentsVersion { get; set; }
Property Value
Methods
OnAfterContextMenuHide(ITargetElement, ITargetElement)
This method is called right after the designer hides the context menu.
Declaration
void OnAfterContextMenuHide(ITargetElement locatorElement, ITargetElement targetElement)
Parameters
locatorElement
The translator locator element.
targetElement
The target element.
OnBeforeContextMenuShow(ITargetElement, ITargetElement)
This method is called right before the designer context menu is about to be shown.
Declaration
void OnBeforeContextMenuShow(ITargetElement locatorElement, ITargetElement targetElement)
Parameters
locatorElement
The translator locator element.
targetElement
The target element.
ProvideCustomElementData(ITargetElement, ITargetElement)
Provide custom data to be used for generating element descriptors.
Declaration
CustomElementData ProvideCustomElementData(ITargetElement locatorElement, ITargetElement targetElement)
Parameters
locatorElement
The translator locator element.
targetElement
The target element.
Returns
Data needed to customize element descriptor.