C# Class System.Windows.Automation.WindowPattern

Inheritance: BasePattern
显示文件 Open project: apetrovskiy/STUPS Class Usage Examples

Public Properties

Property Type Description
CanMaximizeProperty AutomationProperty
CanMinimizeProperty AutomationProperty
IsModalProperty AutomationProperty
IsTopmostProperty AutomationProperty
Pattern AutomationPattern
WindowClosedEvent AutomationEvent
WindowInteractionStateProperty AutomationProperty
WindowOpenedEvent AutomationEvent
WindowVisualStateProperty AutomationProperty

Public Methods

Method Description
Close ( ) : void
SetWindowVisualState ( WindowVisualState state ) : void
WaitForInputIdle ( int milliseconds ) : bool

Private Methods

Method Description
WindowPattern ( AutomationElement el, UIAutomationClient pattern, bool cached ) : System
Wrap ( AutomationElement el, object pattern, bool cached ) : object

Method Details

Close() public method

public Close ( ) : void
return void

SetWindowVisualState() public method

public SetWindowVisualState ( WindowVisualState state ) : void
state WindowVisualState
return void

WaitForInputIdle() public method

public WaitForInputIdle ( int milliseconds ) : bool
milliseconds int
return bool

Property Details

CanMaximizeProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation CanMaximizeProperty
return AutomationProperty

CanMinimizeProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation CanMinimizeProperty
return AutomationProperty

IsModalProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation IsModalProperty
return AutomationProperty

IsTopmostProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation IsTopmostProperty
return AutomationProperty

Pattern public_oe static_oe property

public static AutomationPattern,System.Windows.Automation Pattern
return AutomationPattern

WindowClosedEvent public_oe static_oe property

public static AutomationEvent,System.Windows.Automation WindowClosedEvent
return AutomationEvent

WindowInteractionStateProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation WindowInteractionStateProperty
return AutomationProperty

WindowOpenedEvent public_oe static_oe property

public static AutomationEvent,System.Windows.Automation WindowOpenedEvent
return AutomationEvent

WindowVisualStateProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation WindowVisualStateProperty
return AutomationProperty