Class MenuPlacementAttribute
Indicates where the IGuiTool should be displayed in the navigation view.
Inherited Members
Namespace: DevToys.Api
Assembly: DevToys.Api.dll
Syntax
[MetadataAttribute]
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public sealed class MenuPlacementAttribute : Attribute
Constructors
MenuPlacementAttribute(MenuPlacement)
Initializes a new instance of the MenuPlacementAttribute class with the specified menu placement.
Declaration
public MenuPlacementAttribute(MenuPlacement menuPlacement)
Parameters
Type | Name | Description |
---|---|---|
MenuPlacement | menuPlacement | The menu placement for the IGuiTool. |
Properties
MenuPlacement
Gets the menu placement for the IGuiTool.
Declaration
public MenuPlacement MenuPlacement { get; }
Property Value
Type | Description |
---|---|
MenuPlacement |