<window x:class="WPF.Window1" xmlns:x="#unknown"> xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="DesktopKIOSK" Height="768" Width="1024" Loaded="Window_Loaded" WindowState="Maximized" WindowStyle="None"></window>
<Button Canvas.Left="12" Canvas.Top="6" Height="74" Name="btn1" Width="305" Click="btn1_Click" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Focusable="False">
System.Windows.Window.SizeToContent
System.Windows.SizeToContent.WidthAndHeight
Margin
Padding
ResourceDictionary
DockPanel
System.Windows.Window MyWindow = //...//...MyWindow.SizeToContent = System.Windows.SizeToContent.WidthAndHeight;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)