I am trying to apply the telerik metro theme to the WPF controls. While most controls looks OK, the PasswordBox somehow received a strange double border (see attached image). This issue seem to only affect the Metro Theme, other themes such as the Windows7 Theme looks ok.
<Window x:Class="RadControlsWpfApp3.InputsWindow" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" Title="InputsWindow" Height="400" Width="300"> <Window.Resources> <telerik:MetroTheme x:Key="Theme" /> <Style TargetType="ScrollViewer"> <Setter Property="telerik:StyleManager.Theme" Value="{StaticResource Theme}" /> </Style>
<Style TargetType="TextBox">
<Setter Property="telerik:StyleManager.Theme" Value="{StaticResource Theme}" />
</Style>
<Style TargetType="Button"> <Setter Property="telerik:StyleManager.Theme" Value="{StaticResource Theme}" /> </Style> <Style TargetType="CheckBox"> <Setter Property="telerik:StyleManager.Theme" Value="{StaticResource Theme}" /> </Style> <Style TargetType="RadioButton"> <Setter Property="telerik:StyleManager.Theme" Value="{StaticResource Theme}" /> </Style> <Style TargetType="ListBox"> <Setter Property="telerik:StyleManager.Theme" Value="{StaticResource Theme}" /> </Style> <Style TargetType="PasswordBox"> <Setter Property="telerik:StyleManager.Theme" Value="{StaticResource Theme}" /> </Style> </Window.Resources> <Grid> <StackPanel Margin="5"> <Label Content="Username" /> <TextBox /> <Label Content="Password" /> <PasswordBox /> <Label Content="Gender" /> <StackPanel Orientation="Horizontal"> <RadioButton Content="Male" /> <RadioButton Content="Female" /> </StackPanel> <Label Content="list" /> <ListBox> <ListBoxItem>test1</ListBoxItem> <ListBoxItem>test2</ListBoxItem> <ListBoxItem>test3</ListBoxItem> </ListBox> <CheckBox Content="Agree" /> <Button Content="Submit" /> </StackPanel> </Grid></Window>