Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1655
Left Align Cells in XamDataGRid
posted

Hi,

I used the following code to center align the cells in the grid.

<igDP:XamDataGrid.Resources>
   <Style TargetType="{x:Type igDP:CellValuePresenter}">
      <Setter Property="HorizontalContentAlignment" Value="Center" />
   </Style>
</igDP:XamDataGrid.Resources>

But this will align all the cells of the grid to Center. I want to align only one particular cell to Left and the remaining as it is (to Center). Con you tell me how to achieve this?

Thanks,

Varun