Right align DataGridInt32Column

Editors for WPF Forum

Posted 15 years ago by JDEV
Version: 9.1.0506
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.


Comments (1)

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

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 (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.