Class
TextBlockTranslator

Translator for TextBlock control.

Definition

Namespace:ArtOfTest.WebAii.Design.IntrinsicTranslators.Silverlight

Assembly:ArtOfTest.WebAii.Design.dll

Syntax:

cs-api-definition
public class TextBlockTranslator : XamlActionTranslatorBase, IControlLocator, IInterfaceInterrogator, IActionTranslator, IActionProvider, IVerificationProvider

Inheritance: objectBaseInterfaceInterrogatorBaseLocatorXamlActionTranslatorBaseTextBlockTranslator

Implements: IActionProviderIActionTranslatorIControlLocatorIInterfaceInterrogatorIVerificationProvider

Inherited Members XamlActionTranslatorBase.TranslateCommand(ITargetElement, CapturedCommand, out ActionDescriptor)XamlActionTranslatorBase.TranslateActionPoint(ActionPoint, Rectangle, Rectangle)XamlActionTranslatorBase.AddedControlActionTypesXamlActionTranslatorBase.ControlActionTypesXamlActionTranslatorBase.IsVirtualizingPanelBaseLocator.ProvideCustomElementData(ITargetElement, ITargetElement)BaseLocator.OnBeforeContextMenuShow(ITargetElement, ITargetElement)BaseLocator.OnAfterContextMenuHide(ITargetElement, ITargetElement)BaseLocator.EnabledBaseLocator.UseDesktopActionsOnlyBaseLocator.TelerikComponentsVersionBaseLocator.IdentifyColorBaseInterfaceInterrogator.MatchMaskBaseInterfaceInterrogator.ActionTranslatorBaseInterfaceInterrogator.UICueProviderBaseInterfaceInterrogator.VerificationProviderBaseInterfaceInterrogator.HasActionTranslatorBaseInterfaceInterrogator.HasUICueProviderBaseInterfaceInterrogator.HasVerificationProvider

Constructors

TextBlockTranslator()

Declaration

cs-api-definition
public TextBlockTranslator()

Properties

ControlType

The type of the control locator.

Declaration

cs-api-definition
public override Type ControlType { get; }

Property Value

Type

Overrides BaseLocator.ControlType

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
public override bool IdentifyAsContainer { get; }

Property Value

bool

Overrides BaseLocator.IdentifyAsContainer

IdentifyIcon

Identify Icon for this locator

Declaration

cs-api-definition
public override Image IdentifyIcon { get; }

Property Value

Image

Overrides BaseLocator.IdentifyIcon

Locators

Get this control locator.

Declaration

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

Property Value

IFindExpression[]

Overrides BaseLocator.Locators

Name

The name of this translator.

Declaration

cs-api-definition
public override string Name { get; }

Property Value

string

Overrides BaseLocator.Name

TechnologyType

Control technology type.

Declaration

cs-api-definition
public override TechnologyType TechnologyType { get; }

Property Value

TechnologyType

Overrides XamlActionTranslatorBase.TechnologyType

Methods

GetVerifications()

Get the UI Verification descriptor type that this provider is offering.

Declaration

cs-api-definition
public virtual Type[] GetVerifications()

Returns

Type[]

An array of rules

Implements IVerificationProvider.GetVerifications()

TranslateCommand(FrameworkElement, XamlCapturedCommand, out ActionDescriptor)

Declaration

cs-api-definition
public override bool TranslateCommand(FrameworkElement translatorLocatorElement, XamlCapturedCommand command, out ActionDescriptor recordedDescriptor)

Parameters

translatorLocatorElement

FrameworkElement

command

XamlCapturedCommand

recordedDescriptor

ActionDescriptor

Returns

bool

Overrides XamlActionTranslatorBase.TranslateCommand(FrameworkElement, XamlCapturedCommand, out ActionDescriptor)