XamlMenuItem Class
Inheritance Hierarchy
Object
Microsoft.VisualStudio.TestTools.UITesting.UITestControl
Microsoft.VisualStudio.TestTools.UITesting.WindowsRuntimeControls.XamlControl
Microsoft.VisualStudio.TestTools.UITesting.WindowsRuntimeControls.XamlMenuItem
Namespace: Microsoft.VisualStudio.TestTools.UITesting.WindowsRuntimeControls
Assembly: Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)
Syntax
'Declaration
<CLSCompliantAttribute(True)> _
Public Class XamlMenuItem _
Inherits XamlControl
[CLSCompliantAttribute(true)]
public class XamlMenuItem : XamlControl
[CLSCompliantAttribute(true)]
public ref class XamlMenuItem : public XamlControl
[<CLSCompliantAttribute(true)>]
type XamlMenuItem =
class
inherit XamlControl
end
public class XamlMenuItem extends XamlControl
The XamlMenuItem type exposes the following members.
Constructors
Name | Description | |
---|---|---|
XamlMenuItem() | ||
XamlMenuItem(XamlControl) |
Top
Properties
Name | Description | |
---|---|---|
AcceleratorKey | Gets the control's accelerator key. (Inherited from XamlControl.) | |
AccessKey | Gets the control's access key. (Inherited from XamlControl.) | |
AutomationId | Gets the control's automation Id. (Inherited from XamlControl.) | |
BoundingRectangle | (Inherited from UITestControl.) | |
CanToggle | ||
Checked | ||
ClassName | (Inherited from UITestControl.) | |
Container | (Inherited from UITestControl.) | |
ControlType | (Inherited from UITestControl.) | |
DisplayText | ||
Enabled | (Inherited from UITestControl.) | |
Exists | (Inherited from UITestControl.) | |
FilterProperties | (Inherited from UITestControl.) | |
Font | Gets the font if TextProperty is supported. (Inherited from XamlControl.) | |
FontSize | Gets the control's FontSize. (Inherited from XamlControl.) | |
FontWeight | Gets the control's FontWeight. (Inherited from XamlControl.) | |
FrameworkId | Gets the FrameworkId associated with the control. (Inherited from XamlControl.) | |
FriendlyName | (Inherited from UITestControl.) | |
HasFocus | (Inherited from UITestControl.) | |
Height | (Inherited from UITestControl.) | |
HelpText | Gets the help text associated with the control. (Inherited from XamlControl.) | |
IsTopParent | (Inherited from UITestControl.) | |
ItemStatus | (Inherited from XamlControl.) | |
LabeledBy | Gets the control's label text. (Inherited from XamlControl.) | |
Left | (Inherited from UITestControl.) | |
Name | (Inherited from UITestControl.) | |
NativeElement | (Inherited from UITestControl.) | |
SearchConfigurations | (Inherited from UITestControl.) | |
SearchProperties | (Inherited from UITestControl.) | |
SearchPropertiesSetExplicitly | (Inherited from UITestControl.) | |
State | (Inherited from UITestControl.) | |
TechnologyName | (Inherited from UITestControl.) | |
Top | (Inherited from UITestControl.) | |
TopParent | (Inherited from UITestControl.) | |
Width | (Inherited from UITestControl.) | |
WindowHandle | (Inherited from UITestControl.) | |
WindowTitles | (Inherited from UITestControl.) |
Top
Methods
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.VisualStudio.TestTools.UITesting.WindowsRuntimeControls Namespace