WinProperties.MenuItem Members

Include Protected Members
Include Inherited Members

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Class that contains strings to access specific properties of a Windows Form MenuItem control.

The WinProperties.MenuItem type exposes the following members.

Constructors

  Name Description
Protected method WinProperties.MenuItem Initializes a new instance of the WinProperties.MenuItem class.

Top

Methods

  Name Description
Public method Equals Determines whether the specified Object instance is equal to the current UITestControlProperties.Common instance. (Inherited from UITestControlProperties.Common.)
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Returns a unique value representing the current UITestControlProperties.Common instance. (Inherited from UITestControlProperties.Common.)
Public method GetType Gets the Type of the current instance. (Inherited from UITestControlProperties.Common.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a String that represents the current UITestControlProperties.Common instance. (Inherited from UITestControlProperties.Common.)

Top

Fields

  Name Description
Public fieldStatic member AcceleratorKey
Public fieldStatic member Checked Allows read and write access to the Checked property of the control.
Public fieldStatic member DisplayText
Public fieldStatic member HasChildNodes Allows read access to the HasChildNodes property of the control.
Public fieldStatic member IsTopLevelMenu Allows read access to the IsTopLevelMenu property of the control.
Public fieldStatic member Items Allows read access to the Items property of the control.
Public fieldStatic member Shortcut Allows read access to the Shortcut property of the control.

Top

See Also

Reference

WinProperties.MenuItem Class

Microsoft.VisualStudio.TestTools.UITesting Namespace