我将主窗口状态设置为“最大化”,但问题是我的应用程序将填满整个屏幕甚至任务栏.我究竟做错了什么 ?
我使用Windows 2008 R2,分辨率为1600 * 900
我使用Windows 2008 R2,分辨率为1600 * 900
这是Xaml:
- <Window x:Class="RadinFarazJamAutomationSystem.wndMain"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:sys="clr-namespace:System;assembly=mscorlib"
- xmlns:local="clr-namespace:RadinFarazJamAutomationSystem"
- xmlns:mwt="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Aero"
- Title="MyName" FontFamily="Tahoma" FontSize="12" Name="mainWindow" WindowState="Maximized" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
- xmlns:my="clr-namespace:RadinFarazJamAutomationSystem.Calendare.UC" mc:Ignorable="d" xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" Loaded="mainWindow_Loaded" FlowDirection="LeftToRight"
- ResizeMode="NoResize" Closed="mainWindow_Closed">