I have a WPF view that contains both watermark text boxes and multicolumn combo boxes. I would like to set their properties in the resources of the view. I am having an issue where the settings of the watermarktextbox are affecting the appearance of the multicolumncombobox. Below is my code for the settings (This is under the resources of the view)
<Style TargetType="{x:Type telerik:RadWatermarkTextBox}">
<Setter Property="Padding" Value="3" />
<Setter Property="VerticalContentAlignment" Value="Center" />
<Setter Property="telerik:StyleManager.Theme" Value="Office2019" />
<Setter Property="Height" Value="25" />
<Setter Property="Margin" Value="5 5 5 0" />
</Style>
<Style TargetType="{x:Type telerik:RadMultiColumnComboBox}">
<Setter Property="Height" Value="25" />
<Setter Property="Margin" Value="5,5,5,0"/>
<Setter Property="telerik:StyleManager.Theme" Value="Office2019" />
</Style>
Below is a screenshot of the of the view - notice the drop down icon of the combobox is off it has the downarrow on the right but then also up and down arrows to the left of the drop down arrow - i think its a scroll bar
I can fix this in a couple ways but neither are ideal:
1) I can set the height of the multi column combobox to 31 to get rid of those scroll bars. However, I would like all of my controls to be 25
2) I can remove the Height and Margin setters from the watermarktextbox but then I would have to go through and add those properties to each individual watermark textbox in my view
is there a setter property I can add to either the resources that would cancel out the values from the watermarktextbox or is there a way to cancel them out via a setting on each individual multicolumncombobox??
Thank you!