I use this lib : http://winrtxamltoolkit.codeplex.com/ I want to specify the FontSize of the WatermarkText, how can I do that ?
Thanks
I use this lib : http://winrtxamltoolkit.codeplex.com/ I want to specify the FontSize of the WatermarkText, how can I do that ?
Thanks
You can use the Watermark
property instead of the WatermarkText
one to put anything you want as your watermark - e.g. a TextBlock
with any properties you want. You can also use the WatermarkTextStyle
property when using WatermarkText
and specify the Style
to use with the provided watermark TextBlock
- something like:
<xc:WatermarkTextBox
WatermarkText="Type something">
<xc:WatermarkTextBox.WatermarkTextStyle>
<Style
TargetType="TextBlock">
<Setter
Property="FontSize"
Value="18" />
...
You can check the sample to see some options here.