Is there a way to change the text alignment of the summary records to be right aligned?
I've tried the following
<igDP:XamDataGrid.Resources>
<Style TargetType="{x:Type igDP:SummaryRecordPresenter}">
<Setter Property="HorizontalContentAlignment" Value="Right"/>
<Setter Property="HorizontalAlignment" Value="Right"/>
</Style>
</igDP:XamDataGrid.Resources>
But haven't had the desired results
Hi,
I think this is what you're looking for...
<!-- This Style right-aligns the summary display text. --> <Style TargetType="{x:Type igDP:SummaryResultPresenter}"> <Setter Property="HorizontalAlignment" Value="Right" /> <Setter Property="Margin" Value="0,0,4,0" /> </Style>
Josh
Josh,
How does one attach the style to the dynamically-generated SummaryResultPresenter?
Pete
Hello Pete,
If the style has no Key set, then it would automatically apply to any summary result presenter, no matter how it is generated.