Right align DataGridInt32Column

Editors for WPF Forum

Posted 10 years ago by JDEV
Version: 9.1.0506
Avatar
Using DataGridInt32Column in ThemedDataGrid.

Is the a way to right align the column content?

If use a custom cell style to change the ControlTemplate and set the content presenter to HorizontalAlign=Right then the themes for the cell is lost.

Thanks.

Comments (1)

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

We've exposed the PartEditBox slot properties from the DataGrid Interop columns (including DataGridInt32Column). Using these you can set the CenterSlotHorizontalAlignment property to Right, and the content will be right aligned.

This will be included in the next maintenance release.


Actipro Software Support

The latest build of this product (v2019.1 build 0682) was released 26 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.