Class WpfWindow
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ArtOfTest.WebAii.Wpf
Assembly: ArtOfTest.WebAii.dll
Syntax
public class WpfWindow : VisualTreeHost, IApplication, IAutomationHost, ISupportSearchHost, IAnnotationHost, IDisposable
Constructors
WpfWindow(IntPtr)
Declaration
protected WpfWindow(IntPtr hwnd)
Parameters
System.IntPtr
hwnd
|
Properties
Annotator
Declaration
public override Annotator Annotator { get; }
Property Value
Annotator
|
Overrides
Implements
Application
Bounds
Declaration
public Rectangle Bounds { get; }
Property Value
System.Drawing.Rectangle
|
Implements
ContentWindow
Declaration
public override Window ContentWindow { get; }
Property Value
Window
|
Overrides
Implements
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
IsConnected
Declaration
public virtual bool IsConnected { get; }
Property Value
System.Boolean
|
Implements
IsRecordingHost
Declaration
public virtual bool IsRecordingHost { get; }
Property Value
System.Boolean
|
Implements
ManagedProxy
Declaration
public virtual ICommunicationProxy ManagedProxy { get; }
Property Value
ICommunicationProxy
|
Implements
Manager
Popups
Declaration
protected HashSet<IntPtr> Popups { get; }
Property Value
System.Collections.Generic.HashSet<System.IntPtr>
|
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, String)
Declaration
public static void AddCustomAssembly(string assemblyName, string assemblyPath)
Parameters
System.String
assemblyName
|
System.String
assemblyPath
|
AddCustomAssemblyFolder(String)
Declaration
public static void AddCustomAssemblyFolder(string assemblyFolder)
Parameters
System.String
assemblyFolder
|
Capture()
Declaration
public override Bitmap Capture()
Returns
System.Drawing.Bitmap
|
Overrides
Implements
Capture(FrameworkElement)
Declaration
public Bitmap Capture(FrameworkElement element)
Parameters
FrameworkElement
element
|
Returns
System.Drawing.Bitmap
|
Implements
ClearCustomAsseblies()
Declaration
public static void ClearCustomAsseblies()
ClearCustomAssemblyFolders()
Declaration
public static void ClearCustomAssemblyFolders()
DetachFromWindowEvents()
Declaration
protected void DetachFromWindowEvents()
Dispose()
Declaration
public void Dispose()
Implements
System.IDisposable.Dispose()
ElementFromPoint(Int32, Int32)
Declaration
public virtual FrameworkElement ElementFromPoint(int x, int y)
Parameters
System.Int32
x
|
System.Int32
y
|
Returns
FrameworkElement
|
Implements
EnsureElementClickable(FrameworkElement)
Declaration
public void EnsureElementClickable(FrameworkElement element)
Parameters
FrameworkElement
element
|
Implements
EnsureStateIsCurrent()
Declaration
public override void EnsureStateIsCurrent()
Overrides
Implements
Finalize()
Declaration
protected void Finalize()
GetChildHosts()
Declaration
public override IAutomationHost[] GetChildHosts()
Returns
IAutomationHost[]
|
Overrides
Implements
GetScreenRectangle(FrameworkElement)
Declaration
public virtual Rectangle GetScreenRectangle(FrameworkElement element)
Parameters
FrameworkElement
element
|
Returns
System.Drawing.Rectangle
|
Implements
GetToolTipText(FrameworkElement)
Declaration
public virtual string GetToolTipText(FrameworkElement element)
Parameters
FrameworkElement
element
|
Returns
System.String
|
Implements
GetWindowRectangle()
Declaration
public override Rectangle GetWindowRectangle()
Returns
System.Drawing.Rectangle
|
Overrides
Implements
InitializeCustomWpfTypes()
Declaration
public void InitializeCustomWpfTypes()
IsActiveWindow()
Declaration
protected virtual bool IsActiveWindow()
Returns
System.Boolean
|
LocateInHost(String[])
Declaration
public override ITargetElement LocateInHost(string[] expression)
Parameters
System.String[]
expression
|
Returns
ITargetElement
|
Overrides
Implements
OnRecordingWindowClosed()
Declaration
protected virtual void OnRecordingWindowClosed()
PopulateVisualTree()
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
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
Events
WindowClosed
Declaration
public event EventHandler WindowClosed
Event Type
System.EventHandler
|
Explicit Interface Implementations
IApplication.GetSubtreeFriendlyName(VisualTree)
Declaration
string IApplication.GetSubtreeFriendlyName(VisualTree subtree)
Parameters
VisualTree
subtree
|
Returns
System.String
|
Implements
IApplication.Popups
Declaration
IList<VisualTreeHost> IApplication.Popups { get; }
Returns
System.Collections.Generic.IList<VisualTreeHost>
|
Implements
IApplication.ScrollElementVisible(FrameworkElement, ScrollToVisibleType)
Declaration
void IApplication.ScrollElementVisible(FrameworkElement element, ScrollToVisibleType scrollType)
Parameters
FrameworkElement
element
|
ScrollToVisibleType
scrollType
|