怎么设置超出Grid范围的元素不显示
1个回答
展开全部
<Grid x:Name="LayoutRoot" Background="{StaticResource bgcolor}" Margin="0">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"></ColumnDefinition>
<ColumnDefinition Width="350"></ColumnDefinition>
</Grid.ColumnDefinitions>
<Border Grid.Column="1" Width="350" Margin="0" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
<Grid x:Name="riGrid"
Width="350"
Margin="0,0,0,0"
VerticalAlignment="Stretch"
HorizontalAlignment="Stretch">
<StackPanel Orientation="Horizontal" <Image Source="/Images/设备
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"></ColumnDefinition>
<ColumnDefinition Width="350"></ColumnDefinition>
</Grid.ColumnDefinitions>
<Border Grid.Column="1" Width="350" Margin="0" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
<Grid x:Name="riGrid"
Width="350"
Margin="0,0,0,0"
VerticalAlignment="Stretch"
HorizontalAlignment="Stretch">
<StackPanel Orientation="Horizontal" <Image Source="/Images/设备
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询