DoubleEditBox TextAlignment

Editors for WPF Forum

Posted 10 years ago by Andy Hardin
Version: 9.1.0500
Avatar
Is there a way to align the text in a DoubleEditBox to the right side of the box?

Thanks,
`Andy

Comments (4)

Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Andy,

Currently that is not possible (or atleast not easy to do). But I've added a new property that will allow you to accomplish this. This will be available in the next maintenance release.


Actipro Software Support

Posted 9 years ago by Evan
Avatar
What is this property called? I see HorizontalContentAlignment, but that is obviously inherited from the System.Windows.Controls.Control and doesn't seem to have any effect on the text value's alignment. I'm using version 9.2.513.0.

Many thanks,
Evan
Posted 9 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Evan,

The property is called PartEditBox.CenterSlotHorizontalAlignment. The PartEditBox hosts items in one of three slots: left, center, or right. This alignment only affects the items in the center slot, which is typically considered the "real" content.

Our Sample Browser has a QuickStart that shows this option off also.


Actipro Software Support

Posted 9 years ago by Evan
Avatar
Excellent- thank you very much.
The latest build of this product (v2019.1 build 0681) was released 18 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.