WPF 圆角textbox

原文: WPF 圆角textbox

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/a771948524/article/details/9245965

WPF 圆角textbox

<Window x:Class="WpfApplication1.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">
    <Grid>
        <Border CornerRadius="5" Height="35" Margin="142,137,202,139" BorderThickness="1" BorderBrush="#FF737070">
            <TextBox Height="32" Name="textBox1" Width="156" Background="{x:Null}" BorderThickness="0" FontSize="22" />
        </Border>
    </Grid>
</Window>


 

猜你喜欢

转载自www.cnblogs.com/lonelyxmas/p/9824814.html