-1
ボタンのスタイルを変更する必要があります。問題は、ボタンがButtonRevealStyle
を使用しているため何も変更できないためです。ButtonRevealStyle(静的リソース)を変更しようとしています
これは、私が使用しようとしたコードです:
<Button x:Name="Button1" Style="{StaticResource ButtonRevealStyle}">
<Button.Resources>
<SolidColorBrush x:Key="ButtonBorderBrushPointerOver" Color="Transparent" />
</Button.Resources>
ButtonRevealStyleを変更する方法はありますか?
あなたのButtonRevealStyleを継承するBasedOn
を使用することができます
私はこのエラーを得続ける:Styleオブジェクトが私の編集した答えを参照@samueledassatti TargetTypeプロパティ –
の文字列値を指定する必要があります。 – tabby