Hello,
I creted custom template for input control. But it doesn't work properly
First of all ClearButton is still visible.
BorderBrush changed to red after validation error, but only after I focus and unfocus control.
ValidationError don't appear in ToolTip.
I use newest compilation.
I creted custom template for input control. But it doesn't work properly
<
Style
TargetType
=
"telerik:RadMaskedNumericInput"
>
<
Setter
Property
=
"Margin"
Value
=
"2 2 2 2"
/>
<
Setter
Property
=
"IsClearButtonVisible"
Value
=
"False"
/>
<
Setter
Property
=
"TextMode"
Value
=
"PlainText"
/>
<
Setter
Property
=
"KeyboardNavigation.TabNavigation"
Value
=
"Local"
/>
<
Setter
Property
=
"Validation.ErrorTemplate"
>
<
Setter.Value
>
<
ControlTemplate
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
<
Style.Triggers
>
<
Trigger
Property
=
"Validation.HasError"
Value
=
"true"
>
<
Setter
Property
=
"ToolTip"
Value
=
"{Binding RelativeSource={RelativeSource Self}, Path=(Validation.Errors)[0].ErrorContent}"
/>
<
Setter
Property
=
"BorderBrush"
Value
=
"Red"
/>
</
Trigger
>
</
Style.Triggers
>
</
Style
>
First of all ClearButton is still visible.
BorderBrush changed to red after validation error, but only after I focus and unfocus control.
ValidationError don't appear in ToolTip.
I use newest compilation.