Hi,
I want to change the style of the text/value of doubleeditbox and datetimeeditbox to underline. Do we have TextDecorationsProperty in the editboxes or something similar? so that i can set it to Underline.
Thanks,
Irshad.M
Hi,
I want to change the style of the text/value of doubleeditbox and datetimeeditbox to underline. Do we have TextDecorationsProperty in the editboxes or something similar? so that i can set it to Underline.
Thanks,
Irshad.M
Hello,
No there's no public TextDecorations property. The only way you'd be able to set that is to apply an implicit Style for EmbeddedTextBox like this:
<editors:DoubleEditBox>
<editors:DoubleEditBox.Resources>
<Style TargetType="editors:EmbeddedTextBox">
<Setter Property="TextDecorations" Value="Underline" />
</Style>
</editors:DoubleEditBox.Resources>
</editors:DoubleEditBox>
The EmbeddedTextBox is what provides the text input interface within the edit box's Template.
Please log in to a validated account to post comments.