VerticalContentAlignment in TextBox

Editors for WPF Forum

Posted 11 years ago by Paul Wilde - Senior Developer, Exponential Limited
Version: 12.2.0573
Platform: .NET 4.0
Environment: Windows 7 (64-bit)

The VerticalContentAlignment property for the editors:TextBox behaves differently to the standard WPF textbox (in the ActiPro version it seems to be being ignored). I'm using your version for the great hint functionality, so it would be nice if this could be fixed. On a related note, are there any plans to add a ComboBox to this library? Or alternatively, a way to add hinting support to the standard WPF combobox?

Edit: A quick followup - PasswordBox seems to have the same issue. Hints are being vertically centered correctly, however.

[Modified 11 years ago]

Comments (2)

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

Hi Paul,

Ok, we'll look into tweaking this for the next version.

If you are using our native control themes, we support the various HintProperties on a number of controls, including ComboBox.  HintProperties is a class of attached properties in the ActiproSoftware.Windows.Controls namespace.  You could set its Hint attached property on a target TextBox or ComboBox control.

Actipro Software Support

Posted 11 years ago by Paul Wilde - Senior Developer, Exponential Limited

Thanks - the hints are properly vertically aligned so it looks a little odd otherwise. I just tried the HintProperties and it works perfectly - thanks very much!

The latest build of this product (v24.1.2) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.