MenuItem.Role Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that indicates the role of a MenuItem.
public:
property System::Windows::Controls::MenuItemRole Role { System::Windows::Controls::MenuItemRole get(); };
public System.Windows.Controls.MenuItemRole Role { get; }
member this.Role : System.Windows.Controls.MenuItemRole
Public ReadOnly Property Role As MenuItemRole
Property Value
One of the MenuItemRole values. The default is TopLevelItem.
Remarks
The value of Role depends on the relationship to the Menu and other MenuItem objects.
Dependency Property Information
Identifier field | RoleProperty |
Metadata properties set to true |
None |
Applies to
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.