새소식

Program Language/📓 C#

[C# WPF] 작업 표시줄에 표시하기, 안하기

  • -
728x90

안녕하세요. 팀드모네입니다.

작업 표시줄에 표시하는 방법에 대해 공유드립니다.

 

1. 요약

ShowInTaskBar를 true로 하면 표시되고

false로 하면 안보입니다.

 

참고로 작업 표시줄이라고 하면

아래의 사진을 의미합니다.

<그림> 작업 표시줄

 

2. XAML로 처리하는 방법

<Window
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:StarPRNTSDK"
        .... (요약)
        Height="350" Width="425" 
        ShowInTaskbar="true">
</Window>

 

 

2. Code에서 처리하는 방법

this.ShowInTaskBar = false;

 

하시면 됩니다. 좋은 하루 보내세요~

반응형
Contents

포스팅 주소를 복사했습니다

이 글이 도움이 되었다면 공감 부탁드립니다.