csharp
public record class ToolbarDropdownA button that opens a small menu of commands.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
What a snap-value picker, a build-target picker and a camera-speed picker are. The menu is built from the registry through Context, so its lines get their labels, ticks, shortcuts and enablement from the same place every other view does.
Fields and properties (3)
public StringId TitleWhat the button says when nothing supplies an icon.
public string? IconThe id of the glyph on it, as All keys it.
public string?[] CommandIdsWhat is on the menu, with for a separator.
Methods (1)
public ToolbarDropdown(StringId Title, string? Icon, params string?[] CommandIds)A button that opens a small menu of commands.
Used by (5)
- ChromeFixtureVixen.Editor.Ui.Tests
- EditorApplicationVixen.Editor.App
- ToolbarPresenterVixen.Editor.Ui
- ToolbarSectionTestsVixen.Editor.Ui.Tests
- ViewportChromeVixen.Editor.App