UWP XAML 文本框自定义
UWP XAML TextBox customization
拜托,我想自定义一个 UWP XAML 文本框,直到它看起来像下面屏幕截图中的那个:
拜托,有什么帮助吗?
提前致谢。
您可以使用 borderthickness 和 textalingment 来实现您所显示的内容。
<TextBox BorderThickness="0,0,0,1" VerticalAlignment="Top" TextAlignment="Right" Text="Textbox with text on right"></TextBox>
拜托,我想自定义一个 UWP XAML 文本框,直到它看起来像下面屏幕截图中的那个:
拜托,有什么帮助吗? 提前致谢。
您可以使用 borderthickness 和 textalingment 来实现您所显示的内容。
<TextBox BorderThickness="0,0,0,1" VerticalAlignment="Top" TextAlignment="Right" Text="Textbox with text on right"></TextBox>