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
40
How to change the Horizontal Alignment of a SummaryRecord
posted

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

Parents
  • 6867
    Verified Answer
    posted

    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

Reply Children