【发布时间】:2010-04-08 16:18:40
【问题描述】:
另一个 WPF 问题...
<UserControl x:Class="TKEApp.Components.UserControls.ButtonControl"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Grid Background="Black">
<TextBlock Foreground="White" Background="Brown" Name="lblCaption" TextAlignment="Center"></TextBlock>
</Grid>
</UserControl>
在应用程序代码中的某个地方,我有一个此控件的实例,我需要以编程方式对其进行圆角处理。这可能吗?
【问题讨论】:
标签: wpf user-controls shape