Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1770
XamMaskedEditor regular expression message change
posted

Hello, one of my columns in the XamDataGrid is time. I have the following to verify that a proper time has been entered:

<Style x:Key="TimeFieldStyle" TargetType="{x:Type igWPF:XamMaskedEditor}">
<Setter Property="Mask" Value="##:##" />
<Setter Property="ValueConstraint">
<Setter.Value>
<igWPF:ValueConstraint RegexPattern="^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" />
</Setter.Value>
</Setter>
</Style>

if a proper time has not been entered a message box pops up and says "Value does not match required pattern." Is there any way of changing that text to something custom?

Thanks