I updated my WPF controls and now my border is blank when I set my border thickness to 0.5, the border is blank, or doesn't show.
myMaskedTextBox.BorderThickness = new Thickness(0.5);
if do:
myMaskedTextBox.BorderThickness = new Thickness(1); it's ok, but thicker than I want.
1 Answer, 1 is accepted
0
Sia
Telerik team
answered on 10 Feb 2014, 05:12 PM
Hello Dan,
The described behavior is observed because in our template there is SnapsToDevicePixels set to True. Unfortunately this is needed to prevent the border from blurring.
That is why there are only two options:
You need to re-template the RadMaskedTextInput control and remove this setting in its ControlTemplate
or you need to remove its default border and use your own below the main control:
However I would suggest you to use a lighter red color for border brush to achieve the look that you need.
Regards,
Sia
Telerik
Check out the new Telerik Platform - the only modular platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native apps. Register for the free online keynote and webinar to learn more about the Platform on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT).