WindowPattern Members

Represents a control that provides fundamental window-based functionality within a traditional graphical user interface (GUI).

The following tables list the members exposed by the WindowPattern type.

  Name Description
Public field Static CanMaximizeProperty Identifies the CanMaximize property.
Public field Static CanMinimizeProperty Identifies the CanMinimize property.
Public field Static IsModalProperty Identifies the IsModal property.
Public field Static IsTopmostProperty Identifies the IsTopmost property.
Public field Static Pattern Identifies the WindowPatterncontrol pattern.
Public field Static WindowClosedEvent Identifies the event that is raised when a window is closed.
Public field Static WindowInteractionStateProperty Identifies the WindowInteractionState property.
Public field Static WindowOpenedEvent Identifies the event that is raised when a window is opened.
Public field Static WindowVisualStateProperty Identifies the WindowVisualState property.

  Name Description
Public property Cached Gets the cached UI Automation property values for this WindowPattern.
Public property Current Gets the current UI Automation property values for this WindowPattern.

(see also Protected Methods )
  Name Description
Public method Close Attempts to close the current window.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method SetWindowVisualState Changes the WindowVisualState of the window.
Public method ToString  Returns a String that represents the current Object. (inherited from Object)
Public method WaitForInputIdle Causes the calling code to block for the specified time or until the associated process enters an idle state, whichever completes first.

  Name Description
Protected method Finalize  Frees resources and performs other cleanup operations before the object is reclaimed by garbage collection. (inherited from BasePattern)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)

Community Additions