您好,
按照您的描述,在WPF中,你可以按照如下操作进行设置:
1. 设置窗体标题为 string.Empty ,或者设置窗体的 WindowStyle 属性为 ToolWindow;
2. 设置窗体的 ShowInTaskBar 属性值为 false
按照以上步骤,你就可以实现在任务管理器的应用列表中隐藏:
XAML:
<Window x:Class="WpfHideWindow.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Hide" Height="76" Width="573" ShowInTaskbar="False" WindowStyle="ToolWindow">
<Grid>
<TextBox Text="Stop windows from showing up as 'tasks' from task manager" TextAlignment="Center" HorizontalContentAlignment="Stretch" FontSize="20"/>
</Grid>
</Window>

以下是一些参考资料:
#Stop windows from showing up as 'tasks' from task manager WPF c#
http://stackoverflow.com/questions/7539235/stop-windows-from-showing-up-as-tasks-from-task-manager-wpf-c-sharp
Franklin Chen
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help.