Declined
Last Updated: 11 Dec 2017 13:02 by ADMIN
ADMIN
Lance | Manager Technical Support
Created on: 29 Nov 2017 20:40
Category: Buttons
Type: Bug Report
1
RadButton Office 2016 Theme Issue
Custom property values for BorderThickness and BorderBrush are replaced after button click.

To reproduce, use the following code, you'll see that a highlighted border appears after clicking the button.

<telerik:RadButton Background="Gray"
                           Foreground="White"
                           BorderThickness="0"
                           BorderBrush="Transparent"
                           Content="click me"
                           HorizontalAlignment="Center"
                           VerticalAlignment="Center" />

Reason for declination: 
The border that you see is the focused state of RadButton, which is a separate visual and its BorderThickness is not template-bound to the BorderThickness of the control intentionally. We believe that a control should have focus even if its default border is removed. In our latest themes we are trying to keep this behavior. In the Office2016 theme there is an exposed palette property, which you can use in code-behind if you want to remove the focus: 
Office2016Palette.Palette.FocusThickness = new Thickness(0);
0 comments