首页 新闻 搜索 专区 学院

WPF UI 显示问题

0
悬赏园豆:20 [已关闭问题] 关闭于 2016-11-01 08:23
WPF 如何做到下面图效果? 卡传票在 BORDER上面?

<Border Margin="360,0,0,190" BorderThickness="2" BorderBrush="#FFA9D2F3">
<Grid Grid.Row="2" Grid.Column="0">
<Grid.RowDefinitions>
<RowDefinition Height="50"></RowDefinition>
<RowDefinition Height="50"></RowDefinition>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="100"></ColumnDefinition>
<ColumnDefinition Width="60"></ColumnDefinition>
<ColumnDefinition Width="150"></ColumnDefinition>
</Grid.ColumnDefinitions>
<TextBlock Grid.Row="0" Grid.Column="0" Text="100元:" FontSize="15" TextAlignment="Right" Width="100" HorizontalAlignment="Right" VerticalAlignment="Center" ></TextBlock>
<TextBlock Grid.Row="1" Grid.Column="0" Text="50元:" FontSize="15" TextAlignment="Right" Width="100" HorizontalAlignment="Right" VerticalAlignment="Center"></TextBlock>
<TextBox Grid.Row="0" Grid.Column="1" Text="{Binding txtAmt1}" FontSize="15" Width="50" Height="30" TextAlignment="Right" HorizontalAlignment="Right" VerticalAlignment="Center"></TextBox>
<TextBox Grid.Row="1" Grid.Column="1" Text="{Binding txtAmt2}" FontSize="15" Width="50" Height="30" TextAlignment="Right" HorizontalAlignment="Right" VerticalAlignment="Center"></TextBox>
<TextBox Grid.Row="0" Grid.Column="2" Text="{Binding txtAmt1}" FontSize="15" Width="150" Height="30" TextAlignment="Right" HorizontalAlignment="Right" VerticalAlignment="Center"></TextBox>
<TextBox Grid.Row="1" Grid.Column="2" Text="{Binding txtAmt2}" FontSize="15" Width="150" Height="30" TextAlignment="Right" HorizontalAlignment="Right" VerticalAlignment="Center"></TextBox>
</Grid>
</Border>

如何显示卡传票?

愤青愤青的主页 愤青愤青 | 初学一级 | 园豆:4
提问于:2016-10-24 15:15
< >
分享
所有回答(1)
0

<GroupBox Header="XXX">

</GroupBox>

pkyou | 园豆:98 (初学一级) | 2016-10-28 19:01
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册