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
980
grid cell alignment
posted

In my XamDataGrid resources I was able to right-align the summaries with:

 <Style TargetType="{x:Type igDP:SummaryResultPresenter}">
                    <Setter Property="HorizontalAlignment" Value="Right" />
 </Style>

I need to right align cells as well - but I don't want to use a resource style because it will right-align everything. I only have a few fields that need to be right aligned. What would the XAML look like if I wanted to right-align on a field by field basis?

Thanks!