Class VisualFind
Inheritance
Inherited Members
Namespace: ArtOfTest.WebAii.Silverlight
Assembly: ArtOfTest.WebAii.dll
Syntax
public sealed class VisualFind : TreeCrawler<FrameworkElement, XamlFindExpression, XamlFindClause>
Properties
OwnerApp
SearchRoot
Declaration
public override FrameworkElement SearchRoot { get; }
Property Value
FrameworkElement
|
Overrides
Strategy
WaitOnElementsTimeout
Declaration
public int WaitOnElementsTimeout { get; set; }
Property Value
System.Int32
|
Methods
AllByAutomationId(String)
Declaration
public IList<FrameworkElement> AllByAutomationId(string id)
Parameters
System.String
id
|
Returns
System.Collections.Generic.IList<FrameworkElement>
|
AllByAutomationId(String, String)
Declaration
public IList<FrameworkElement> AllByAutomationId(string id, string controlType)
Parameters
System.String
id
|
System.String
controlType
|
Returns
System.Collections.Generic.IList<FrameworkElement>
|
AllByAutomationId<T>(String)
Declaration
public IList<T> AllByAutomationId<T>(string id)
where T : IFrameworkElement
Parameters
System.String
id
|
Returns
System.Collections.Generic.IList<T>
|
Type Parameters
T
|
AllByCustom(Predicate<FrameworkElement>)
Declaration
public IList<FrameworkElement> AllByCustom(Predicate<FrameworkElement> customLogic)
Parameters
System.Predicate<FrameworkElement>
customLogic
|
Returns
System.Collections.Generic.IList<FrameworkElement>
|
AllByExpression(XamlFindExpression)
Declaration
public override IList<FrameworkElement> AllByExpression(XamlFindExpression expression)
Parameters
XamlFindExpression
expression
|
Returns
System.Collections.Generic.IList<FrameworkElement>
|
Overrides
AllByName(String)
Declaration
public IList<FrameworkElement> AllByName(string name)
Parameters
System.String
name
|
Returns
System.Collections.Generic.IList<FrameworkElement>
|
AllByName(String, String)
Declaration
public IList<FrameworkElement> AllByName(string name, string controlType)
Parameters
System.String
name
|
System.String
controlType
|
Returns
System.Collections.Generic.IList<FrameworkElement>
|
AllByName<T>(String)
Declaration
public IList<T> AllByName<T>(string name)
where T : IFrameworkElement
Parameters
System.String
name
|
Returns
System.Collections.Generic.IList<T>
|
Type Parameters
T
|
AllByTextContent(String)
Declaration
public IList<FrameworkElement> AllByTextContent(string textContent)
Parameters
System.String
textContent
|
Returns
System.Collections.Generic.IList<FrameworkElement>
|
AllByType(String)
Declaration
public IList<FrameworkElement> AllByType(string controlType)
Parameters
System.String
controlType
|
Returns
System.Collections.Generic.IList<FrameworkElement>
|
AllByType<T>()
Declaration
public IList<T> AllByType<T>()
where T : IFrameworkElement
Returns
System.Collections.Generic.IList<T>
|
Type Parameters
T
|
ByAutomationId(String)
Declaration
public FrameworkElement ByAutomationId(string id)
Parameters
System.String
id
|
Returns
FrameworkElement
|
ByAutomationId(String, Boolean)
Declaration
public FrameworkElement ByAutomationId(string id, bool includeRoot)
Parameters
System.String
id
|
System.Boolean
includeRoot
|
Returns
FrameworkElement
|
ByAutomationId<T>(String)
Declaration
public T ByAutomationId<T>(string id)
where T : IFrameworkElement
Parameters
System.String
id
|
Returns
T
|
Type Parameters
T
|
ByBaseType<T>()
Declaration
public T ByBaseType<T>()
where T : IFrameworkElement
Returns
T
|
Type Parameters
T
|
ByCustom(Predicate<FrameworkElement>)
Declaration
public FrameworkElement ByCustom(Predicate<FrameworkElement> customLogic)
Parameters
System.Predicate<FrameworkElement>
customLogic
|
Returns
FrameworkElement
|
ByExpression(XamlFindExpression, Boolean)
Declaration
public override FrameworkElement ByExpression(XamlFindExpression expression, bool includeRoot)
Parameters
XamlFindExpression
expression
|
System.Boolean
includeRoot
|
Returns
FrameworkElement
|
Overrides
ByExpressionReturnOrThrow(XamlFindExpression)
Declaration
public FrameworkElement ByExpressionReturnOrThrow(XamlFindExpression expression)
Parameters
XamlFindExpression
expression
|
Returns
FrameworkElement
|
ByExpressionReturnOrThrow(XamlFindExpression, Boolean)
Declaration
public FrameworkElement ByExpressionReturnOrThrow(XamlFindExpression expression, bool includeRoot)
Parameters
XamlFindExpression
expression
|
System.Boolean
includeRoot
|
Returns
FrameworkElement
|
ByName(String)
Declaration
public FrameworkElement ByName(string name)
Parameters
System.String
name
|
Returns
FrameworkElement
|
ByName<T>(String)
Declaration
public T ByName<T>(string name)
where T : IFrameworkElement
Parameters
System.String
name
|
Returns
T
|
Type Parameters
T
|
ByTextContent(String)
Declaration
public FrameworkElement ByTextContent(string textContent)
Parameters
System.String
textContent
|
Returns
FrameworkElement
|
ByType(String)
Declaration
public FrameworkElement ByType(string controlType)
Parameters
System.String
controlType
|
Returns
FrameworkElement
|
ByType<T>()
Declaration
public T ByType<T>()
where T : IFrameworkElement
Returns
T
|
Type Parameters
T
|
FindAllUsingHierarchicalClause(FrameworkElement, XamlFindClause)
Declaration
public override IEnumerable<FrameworkElement> FindAllUsingHierarchicalClause(FrameworkElement startNode, XamlFindClause clause)
Parameters
FrameworkElement
startNode
|
XamlFindClause
clause
|
Returns
System.Collections.Generic.IEnumerable<FrameworkElement>
|
Overrides
FindUsingHierarchicalClause(FrameworkElement, XamlFindClause)
Declaration
public override FrameworkElement FindUsingHierarchicalClause(FrameworkElement startNode, XamlFindClause clause)
Parameters
FrameworkElement
startNode
|
XamlFindClause
clause
|
Returns
FrameworkElement
|
Overrides
RefreshRoot()
Declaration
public void RefreshRoot()