我正在尝试从控件中编辑样式,但没有成功 这是代码
<dotNetKitControls:AutoCompleteComboBox
x:Name="TB_Cidade"
SelectedValuePath="CidNome"
TextSearch.TextPath="CidNome"
ItemTemplate="{StaticResource AutoCompleteBoxItemTemplateCidade}"
SelectedItem="{Binding SelectedItem}"
SelectedValue="{Binding SelectedValue}">
<dotNetKitControls:AutoCompleteComboBox.Resources>
<Style TargetType="{x:Type dotNetKitControls:AutoCompleteComboBox}">
<Style.Resources>
<Style TargetType="TextBox">
<Style.Triggers>
<Trigger Property="Name" Value="PART_EditableTextBox">
<Setter Property="Background" Value="Pink"></Setter>
</Trigger>
</Style.Triggers>
</Style>
</Style.Resources>
</Style>
</dotNetKitControls:AutoCompleteComboBox.Resources>
</dotNetKitControls:AutoCompleteComboBox>
看到我正在尝试更改其中的控件的文本框
有什么方法可以改变其风格?