To change the BorderBrush property of the RadMaskedDateTimeInput control on mouse hover, extract the control template present in the Template property of the style with x:Key="RadMaskedInputBaseStyle". After that, create a new style that targets the RadMasketInputBase element, and set the Template property to the extracted control template.