C# WPF页面标题栏隐藏
我知道如何在windows中隐藏标题栏:WindowStyle=“无”。但是我怎样才能用页面实现这一点呢? 我有这样一个代码:C# WPF页面标题栏隐藏,c#,wpf,C#,Wpf,我知道如何在windows中隐藏标题栏:WindowStyle=“无”。但是我怎样才能用页面实现这一点呢? 我有这样一个代码: <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
<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=“None”相同?我发现这是不可能的。我解决了使用一个窗口作为导航菜单的支架和一个在页面之间切换内容的框架的问题。
希望这能帮助别人 我发现这是不可能的。我解决了使用一个窗口作为导航菜单的支架和一个在页面之间切换内容的框架的问题。 希望这能帮助别人