wpfui icon indicating copy to clipboard operation
wpfui copied to clipboard

Applying Mica effect to ComboBox, Menu and ContextMenu

Open MajorXAML opened this issue 3 years ago • 4 comments

I'm not sure if there's an easy way to accomplish this, but I'll create this thread in case anyone has any ideas. As far as I understand, these controls exist outside the main window, so the mica effect does not apply to them. 🧐

In winui, these controls use a special material called Acrylic as a background. So maybe it's not Mica but Acrylic... or both image

MajorXAML avatar Mar 13 '22 16:03 MajorXAML

It's really Acrylic, but I don't think there's much difference from mica. image

MajorXAML avatar Mar 13 '22 16:03 MajorXAML

Yes its Acrylic.... It can be achieved in WPF but it will not contain the WinUI popup animations. Also menus have to be realized as custom windows with special style and all functionality have to be custom unfortunately. Also the rounding have to be on all corners. There is no way to change that. I have achieved this in my app and is not so bad. image

DimitarCC avatar Nov 01 '22 06:11 DimitarCC