Class SilverlightApp
Inherited Members
Namespace: ArtOfTest.WebAii.Silverlight
Assembly: ArtOfTest.WebAii.dll
Syntax
public class SilverlightApp : VisualTreeHost, IApplication, IAutomationHost, ISupportSearchHost, IAnnotationHost
Constructors
SilverlightApp(HtmlControl)
Properties
Annotator
Declaration
public override Annotator Annotator { get; }
Property Value
Annotator
|
Overrides
Implements
Bounds
Declaration
public Rectangle Bounds { get; }
Property Value
System.Drawing.Rectangle
|
Implements
Content
ContentWindow
Declaration
public override Window ContentWindow { get; }
Property Value
Window
|
Overrides
Implements
CustomAssemblies
Declaration
public static string[] CustomAssemblies { get; }
Property Value
System.String[]
|
Desktop
EnableValidateMouseLocation
Declaration
public bool EnableValidateMouseLocation { get; set; }
Property Value
System.Boolean
|
Implements
Find
FriendlyName
Declaration
public override string FriendlyName { get; }
Property Value
System.String
|
Overrides
Implements
Host
IsConnected
Declaration
public bool IsConnected { get; }
Property Value
System.Boolean
|
IsLoaded
Declaration
public bool IsLoaded { get; }
Property Value
System.Boolean
|
IsRecordingHost
Declaration
public bool IsRecordingHost { get; }
Property Value
System.Boolean
|
Implements
ManagedProxy
Declaration
public ICommunicationProxy ManagedProxy { get; }
Property Value
ICommunicationProxy
|
Implements
Manager
OwnerBrowser
Plugin
Popups
Declaration
public IList<VisualTreeHost> Popups { get; }
Property Value
System.Collections.Generic.IList<VisualTreeHost>
|
Implements
Settings
TechnologyType
Declaration
public override TechnologyType TechnologyType { get; }
Property Value
TechnologyType
|
Overrides
Implements
UniqueId
Declaration
public override string UniqueId { get; }
Property Value
System.String
|
Overrides
Implements
Window
Methods
AddCustomAssembly(String, MemoryStream)
Declaration
public static void AddCustomAssembly(string assemblyName, MemoryStream assembly)
Parameters
System.String
assemblyName
|
System.IO.MemoryStream
assembly
|
Capture()
Declaration
public Bitmap Capture()
Returns
System.Drawing.Bitmap
|
Implements
Capture(FrameworkElement)
Declaration
public Bitmap Capture(FrameworkElement element)
Parameters
FrameworkElement
element
|
Returns
System.Drawing.Bitmap
|
Implements
ClearAppCache()
Declaration
public static void ClearAppCache()
ClearHighlight()
Declaration
public void ClearHighlight()
Connect()
Declaration
public void Connect()
Connect(Int32)
Declaration
public void Connect(int timeout)
Parameters
System.Int32
timeout
|
ElementFromPoint(Int32, Int32)
Declaration
public FrameworkElement ElementFromPoint(int x, int y)
Parameters
System.Int32
x
|
System.Int32
y
|
Returns
FrameworkElement
|
Implements
ElementsFromPoint(Point)
Declaration
public IList<FrameworkElement> ElementsFromPoint(Point p)
Parameters
System.Drawing.Point
p
|
Returns
System.Collections.Generic.IList<FrameworkElement>
|
EnsureElementClickable(FrameworkElement)
Declaration
public void EnsureElementClickable(FrameworkElement element)
Parameters
FrameworkElement
element
|
Implements
EnsureStateIsCurrent()
Declaration
public override void EnsureStateIsCurrent()
Overrides
Implements
FindName(String)
Declaration
public FrameworkElement FindName(string name)
Parameters
System.String
name
|
Returns
FrameworkElement
|
FindName<T>(String)
Declaration
public T FindName<T>(string name)
where T : FrameworkElement
Parameters
System.String
name
|
Returns
T
|
Type Parameters
T
|
GetApp(HtmlControl)
Declaration
public static SilverlightApp GetApp(HtmlControl host)
Parameters
HtmlControl
host
|
Returns
SilverlightApp
|
GetApp(HtmlControl, Int32, Boolean)
Declaration
public static SilverlightApp GetApp(HtmlControl host, int timeout, bool catchedOnly)
Parameters
HtmlControl
host
|
System.Int32
timeout
|
System.Boolean
catchedOnly
|
Returns
SilverlightApp
|
GetChildHosts()
Declaration
public override IAutomationHost[] GetChildHosts()
Returns
IAutomationHost[]
|
Overrides
Implements
GetScreenRectangle(FrameworkElement)
Declaration
public Rectangle GetScreenRectangle(FrameworkElement element)
Parameters
FrameworkElement
element
|
Returns
System.Drawing.Rectangle
|
Implements
GetToolTipText(FrameworkElement)
Declaration
public string GetToolTipText(FrameworkElement element)
Parameters
FrameworkElement
element
|
Returns
System.String
|
Implements
InitializeCustomTypes()
Declaration
public static void InitializeCustomTypes()
InitializeCustomTypes(IList<ICustomSilverlightTypesProvider>)
Declaration
public static void InitializeCustomTypes(IList<ICustomSilverlightTypesProvider> providers)
Parameters
System.Collections.Generic.IList<ICustomSilverlightTypesProvider>
providers
|
LocateAllInHost(String[])
Declaration
public override IList<ITargetElement> LocateAllInHost(string[] expression)
Parameters
System.String[]
expression
|
Returns
System.Collections.Generic.IList<ITargetElement>
|
Overrides
Implements
RefreshVisualTrees()
ResizeContainer(Int32, Int32, Int32, Int32)
Declaration
public void ResizeContainer(int x, int y, int width, int height)
Parameters
System.Int32
x
|
System.Int32
y
|
System.Int32
width
|
System.Int32
height
|
Implements
ScrollElementVisible(FrameworkElement, ScrollToVisibleType)
Declaration
public void ScrollElementVisible(FrameworkElement element, ScrollToVisibleType scrollType)
Parameters
FrameworkElement
element
|
ScrollToVisibleType
scrollType
|
Implements
SetWindowFocus()
Declaration
public override bool SetWindowFocus()
Returns
System.Boolean
|
Overrides
Implements
ValidateMouseLocation(Point)
Declaration
public override void ValidateMouseLocation(Point point)
Parameters
System.Drawing.Point
point
|
Overrides
Implements
Explicit Interface Implementations
IApplication.GetSubtreeFriendlyName(VisualTree)
Declaration
string IApplication.GetSubtreeFriendlyName(VisualTree subtree)
Parameters
VisualTree
subtree
|
Returns
System.String
|
Implements
IApplication.IsConnected
Declaration
bool IApplication.IsConnected { get; }
Returns
System.Boolean
|