Menu
New-UDMenu component for Universal Apps.
The menu component can be used to provide a drop down list of options for the user to select.
Basic Menu
Create a basic menu.
Button Styles
You can edit the style of the menu by adjusting the variant parameter.
Values
You can use the value parameter to define a value that differs from the text displayed.
OnChange Event Handler
Use the -OnChange
parameter to specify a script block to call when a new value is selected. The value of the selected item will be available in $EventData
.
API
Last updated