Ghost1372

everything can be handy

TitleBarHelper

We’ve made it easy to use the customized Windows title bar

WinUICommunity

you can easily define drag regions or clear drag regions for a titlebar.

SetDragRegion

1
2
TitleBarHelper.SetDragRegion(window, NonClientRegionKind.Passthrough, myAutosuggestBox, myButton);

ClearDragRegions

1
TitleBarHelper.ClearDragRegions(window, NonClientRegionKind.Passthrough);

Demo

you can run demo and see this feature.

0%