[英]WPF Transparent background
您需要將RadioButton
上的樣式設置為透明。 將此代碼放在WPF
應用程序的App.xaml
中,它將任何RadioButton
更改為透明。
<Style TargetType="{x:Type RadioButton}">
<Setter Property="Background" Value="Transparent"/>
<Setter Property="BorderBrush" Value="Transparent"/>
</Style>
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.