- 583 名前:デフォルトの名無しさん mailto:sage [2020/10/05(月) 18:50:57.69 ID:g9HCYiH10.net]
- こんなんだったはず
〜MyStyleLib.dll〜 〜MyButton.xaml〜 <Style x:Key="KeyMyButton" TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}" > <Setter Property="Background" Value="Blue" /> </Style> 〜使う側〜 <ResourceDictionary Source="pack://application:,,,/MyStyleLib;component/MyButton.xaml" /> <Button Style="{StaticResource KeyMyButton}"> BUTTON </Button>
|

|