首页 > Windows开发 > 详细

1.WPF-Border边框--BorderBrush(边框颜色)--Padding(与内部元素的距离)--CornerRadius(圆角的半径)

时间:2015-11-23 16:30:54      阅读:2724      评论:0      收藏:0      [点我收藏+]
<Window x:Class="StackPanel和border.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="525">
    <Border BorderBrush="Red" BorderThickness="4" Padding="6"  CornerRadius="88">
    <StackPanel Orientation="Horizontal">
        <Button Content="button1" ></Button>
    </StackPanel>
    </Border>
</Window>

技术分享

1.WPF-Border边框--BorderBrush(边框颜色)--Padding(与内部元素的距离)--CornerRadius(圆角的半径)

原文:http://www.cnblogs.com/ItDotNet/p/4988589.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!