0
我的App.xaml看起來是這樣的:的Silverlight:對於狀態改變風格
<Application xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="mySilverlightApp.App"
>
<Application.Resources>
<Style x:Name="ComboBoxStyle" TargetType="ComboBox">
<Setter Property="FontFamily" Value="Calibri.ttf#Calibri"></Setter>
</Style>
</Application.Resources>
正如你所看到的,我想用<Setter>
標籤應用自定義樣式,以組合框在我的應用程序。但我想對ComboBox的不同狀態(MouseOver等)應用樣式。
我該怎麼做?