2016-01-20 97 views
-1

我知道如何在windows中隐藏标题栏:WindowStyle =“none”。但是,我怎么能实现与页面? 我有这样的代码:WPF页面标题栏隐藏

<Page x:Class="SomeNamePage1" 
     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
     xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
     xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
     xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" 
     xmlns:local="SomeName" 
     mc:Ignorable="d" 
     d:DesignHeight="700" d:DesignWidth="700" WindowHeight="700" WindowWidth="700" 
     Title="Page1" Background="#FFFFFF"> 

如何隐藏有相同的结果WindowStyle =“无”的标题栏?

回答

0

我想出这是不可能的。我解决了使用窗口作为导航菜单的持有人以及在内容页面之间切换的框架。 希望这可以帮助别人!