This documentation is archived and is not being maintained.

WpfWindow.PropertyNames Class

Contains a field for each property of the WpfWindow user interface (UI) testing control where each field is named for, and returns, the name of the corresponding property.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting.WpfControls
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

public abstract class PropertyNames : WpfControl..::..PropertyNames

The WpfWindow.PropertyNames type exposes the following members.

Protected methodWpfWindow.PropertyNamesInitializes a new instance of the WpfWindow.PropertyNames class.

Public methodEquals(Object)Determines whether the provided object is equal to the current instance. (Inherited from UITestControl.PropertyNames.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from UITestControl.PropertyNames.)
Public methodGetTypeReturns the Type of the control. (Inherited from UITestControl.PropertyNames.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string representation of this instance. (Inherited from UITestControl.PropertyNames.)

Public fieldStatic memberAlwaysOnTopReturns "AlwaysOnTop".
Public fieldStatic memberHasTitleBarReturns "HasTitleBar".
Public fieldStatic memberMaximizedReturns "Maximized".
Public fieldStatic memberMinimizedReturns "Minimized".
Public fieldStatic memberOrderOfInvocationReturns "OrderOfInvocation".
Public fieldStatic memberPopupReturns "Popup".
Public fieldStatic memberResizableReturns "Resizable".
Public fieldStatic memberRestoredReturns "Restored".
Public fieldStatic memberShowInTaskbarReturns "ShowInTaskbar".
Public fieldStatic memberTabStopReturns "TabStop".
Public fieldStatic memberTransparentReturns "Transparent".

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.