c# - CustomChrome issue with WindowStyle=None, restoring window -
here's context problem:
i downloaded customchromelibrary, , changed shell reference microsoft.windows.shell system.windows.shell, same thing in framework 4.5.
working customchromesample, able show customchrome window, if change following properties in mainwindow.xaml:
- windowstyle=none
- allowtransparency=true
- background=transparent
(note windowstyle=none alone causes issue)
then, if change windowstate in sequence:
- normal (init state)
- maximized (click button maximize)
- minimized (click button minimized)
- normal (click program icon in taskbar)
then program icon disappears taskbar , ive no idea why.
so, have idea? also, there place upload code see?
alright, never mind. used mahapps.metrowindow , copy pasted theme change how wanted while keeping functionalities of normal window. code great.
Comments
Post a Comment