Can we change the font style of editboxes (double, datetime etc) to underline?

Editors for WPF Forum

Posted 4 years ago by IRSHAD M
Version: 17.2.0665


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.



Comments (1)

Posted 4 years ago by Actipro Software Support - Cleveland, OH, USA


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:

		<Style TargetType="editors:EmbeddedTextBox">
			<Setter Property="TextDecorations" Value="Underline" />

The EmbeddedTextBox is what provides the text input interface within the edit box's Template.

Actipro Software Support

The latest build of this product (v22.1.3) was released 17 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.