我已經完成搜索,我找不到任何關於爲什麼我的設計師窗口這樣做。視覺工作室WPF設計師不會排隊
,當我運行它看起來是這樣的。
看看它是如何得更遠有關嗎?
這使得建築窗戶非常煩人。我怎樣才能阻止呢?
<Window x:Class="WPF1.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Main Window" Height="360" Width="547" ResizeMode="NoResize">
<Grid Background="#FF464646" Height="329">
<ListBox Height="321" HorizontalAlignment="Left" Name="listBox1" VerticalAlignment="Top" Width="120" Background="#FF252525" />
<Button Content="Button" Height="23" HorizontalAlignment="Left" Margin="126,298,0,0" Name="button1" VerticalAlignment="Top" Width="75" />
<ListBox Height="322" HorizontalAlignment="Left" Margin="393,0,0,0" Name="listBox2" VerticalAlignment="Top" Width="132" BorderBrush="White" Background="#FF252525" />
</Grid>
您需要發佈您用於創建該窗口的xaml。 – NotDan
已添加mainwindow xaml – leetbit