Code/WPF

작업표시줄/Alt+Tab 에서 Window 숨기기

Segel 2021. 10. 27. 20:23

문제:

    작업표시줄과 Alt+Tab (task switcher)에서 Window를 숨겨야 함

 

해결:

    작업표시줄:

Window1.ShowInTaskBar = false;

    Alt+Tab:

Window1.Owner = MainWindow;

    또는

Window1.WindowStyle = WindowStyle.ToolWindow;
반응형

'Code > WPF' 카테고리의 다른 글

WPF Binding 디버깅  (0) 2021.11.12
Visibility와 Focus  (0) 2021.10.17
WPF TreeViewItem Stretch  (0) 2021.10.15
WPF XamlParseException 버그?  (0) 2021.09.30
WPF DragDrop이 작동하지 않음  (0) 2021.09.25
WPF MouseUp시 입력된 버튼 찾기  (0) 2021.09.01
WPF 마우스 이벤트가 작동하지 않는 문제  (0) 2021.08.26
WPF 최대화 문제  (0) 2021.08.21