fluent_ui icon indicating copy to clipboard operation
fluent_ui copied to clipboard

Add CommandBarDropdownButton? to CommandBar

Open glanium opened this issue 1 year ago • 2 comments

I need CommandBarDropButton like DropDownButton.

It is very hard to build UI with only simple CommandBarButton.

WinUI' CommandBar supports such functionaliy

Thx.

for more flexibility, CommandBarFlyoutButton which flyouts arbitrary widgets. CommandBarContainer which embbed arbitrary widgets and so on.

glanium avatar Mar 11 '23 12:03 glanium

Hello! I have considered your suggestion, but I believe a CommandBarDropDownButton is very restrictive. I was thinking on creating a CommandBarFlyoutTarget, where a flyout controller can be attached and the flyout can be open in the given position.

While it is a good idea and is in the guidelines, I am not sure on how this would behave when in secondary mode (overflow menu)

for more flexibility, CommandBarFlyoutButton which flyouts arbitrary widgets. CommandBarContainer which embbed arbitrary widgets and so on.

You can use CommandBarBuilderItem for more flexibility. The mentioned convienience widget can be made from it

bdlukaa avatar Mar 24 '23 20:03 bdlukaa

I'm trying CommandBarBuilderItem. It seems good.

Thx.

glanium avatar Mar 28 '23 13:03 glanium