日期:2014-05-17 浏览次数:21278 次
<Window x:Class="WPF2.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="MainWindow" Height="377" Width="378">
<Grid HorizontalAlignment="Left" Height="298" Background="Red" VerticalAlignment="Top" Width="173" Margin="0,0,189,0">
<Button Content="Button" HorizontalAlignment="Left" Margin="128,155,-30,0" VerticalAlignment="Top" Width="75"/>
</Grid>
</Window>


我把你的代码复制了下没出现你的这样的情况啊