Hello,
I need to change the color of the RadVirtualKeyboardWindow's close button. At the moment it is not viewable very good. I use Material style around in my application, but it seems that it does not completly fit my needs.
I tried to change the button's beahviour like this:
<Style TargetType="telerik:RadVirtualKeyboardWindow">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="telerik:RadVirtualKeyboardWindow">
<Grid>
<!-- Fensterinhalt -->
<Border Background="{TemplateBinding Background}">
<ContentPresenter />
</Border>
<!-- Schließen-Button -->
<Button x:Name="PART_CloseButton"
Width="24" Height="24"
HorizontalAlignment="Right"
VerticalAlignment="Top"
Margin="5"
Background="DarkRed"
Foreground="White"
BorderBrush="Transparent"
Content="✕"
FontWeight="Bold"
Cursor="Hand"/>
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
But that actually lead to a very long button and could not change that either:
What can I try next?
Thanks and best regards,
Ferdinand