|
<Style TargetType="maskededit:SfMaskedEdit">
<Setter Property="FontFamily" Value="D-DIN" />
<Setter Property="ValidationMode" Value="LostFocus" />
</Style> |
|
<inputLayout:SfTextInputLayout Hint="Name">
<maskededit:SfMaskedEdit x:Name="maskedEdit" PromptChar="-" Mask="00/00/0000" />
</inputLayout:SfTextInputLayout> |
|
<maskededit:SfMaskedEdit x:Name="maskedEdit" FontFamily="D-DIN" WatermarkFontFamily="D-DIN" Mask="00/00/0000" /> |
Hi Sridevi,
Thanks, that was the solution I needed. As well as setting the FontFamily and WatermarkFontFamily to be the same, I also needed to set FontSize and WatermarkFontSize to the same value. Now everything is working as expected.
Incidentally setting the PromptChar in the style works fine now.
Many thanks,
Will