另一个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>
在应用程序代码的某个地方,我有一个此控件的实例,我需要以编程方式使其角变圆。这可能吗?