@page "/compomenubutton" @using Microsoft.FluentUI.AspNetCore.Components.DesignTokens @inject AccentBaseColor AccentBaseColor @rendermode RenderMode.InteractiveServer MenuButton The FluentMenuButton component used to trigger a menu. Menu items can be supplied by both an Items parameter as well as manually as the ChildContent. Default

Message: @dmessage?.ToString()

Appearances

Neutral

Accent

Lightweight

Outline

Stealth

@code { Dictionary items = new Dictionary() { {"0078D4","Windows"}, {"D83B01","Office"}, {"464EB8","Teams"}, {"107C10","Xbox"}, {"8661C5","Visual Studio"}, {"F2C811","Power BI"}, {"0066FF","Power Automate"}, {"742774","Power Apps"}, {"0B556A","Power Virtual Agents"} }; string dmessage = string.Empty; void OnDMenuChanged(MenuChangeEventArgs args) { dmessage = $"Id: #{args.Id}, Value: {args.Value}"; } }