The obvious solution is to set a HorizontalAlignment property of DataGridCell style: 1 2 3 4 5 6 7 <DataGridTextColumn Binding="{Binding Quantity, StringFormat=’#,0.0000′}" ClipboardContentBinding="{x:Null}" Header="Quantity"> <DataGridTextColumn.CellStyle> <Style TargetType="DataGridCell" > <Setter Property="HorizontalAlignment" Value="Right" /> </Style> </DataGridTextColumn.CellStyle> </DataGridTextColumn> <DataGridTextColumn […]
Continue reading…