ClassXamlElementContainer
Base class for containers of Silverlight elements in the Project.cs file
Definition
Namespace:ArtOfTest.WebAii.TestTemplates
Assembly:ArtOfTest.WebAii.dll
Syntax:
public abstract class XamlElementContainer : ElementContainer<FrameworkElement, XamlFindExpression>
Inheritance: objectElementContainer<FrameworkElement, XamlFindExpression>XamlElementContainer
Inherited Members
Constructors
XamlElementContainer(VisualFind)
Declaration
public XamlElementContainer(VisualFind find)
Parameters
find
Properties
EnsureClickable
Gets and sets whether to ensure elements are in a clickable region of the browser
Find
Gets the Find object scoped to this container.
OwnerApp
Gets a reference of the application that owner this element.
Methods
Get(XamlFindExpression)
Finds an element using a FindExpression.
Declaration
public override FrameworkElement Get(XamlFindExpression expr)
Parameters
expr
The FindExpression<T> to use to locate the element.
Returns
The element or null if no matching element found.
Overrides
Get<TControl>(XamlFindExpression)
Declaration
public TControl Get<TControl>(XamlFindExpression expr) where TControl : IFrameworkElement
Parameters
expr
Returns
TControl
Get<TControl>(XamlFindExpression, bool, int)
Declaration
public TControl Get<TControl>(XamlFindExpression expr, bool waitOnElement, int timeout) where TControl : IFrameworkElement
Parameters
expr
waitOnElement
timeout
Returns
TControl
Get<TControl>(params string[])
Declaration
public TControl Get<TControl>(params string[] clauses) where TControl : IFrameworkElement
Parameters
clauses
string[]
Returns
TControl
GetElement(XamlFindExpression, bool, int)
Declaration
protected override FrameworkElement GetElement(XamlFindExpression expr, bool waitOnElement, int timeout)
Parameters
expr
waitOnElement
timeout
Returns
Overrides