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
585
Justify the Summary Row Cells
posted

I have a xamGrid v10.3 in a SL4 app.. I have programmatically added a summary row and the summary summation cells , they work fine. I need to have the summary cell in the first column to read "Total" with it being left justified.

I have forced this cell to be the correct text by adding

FormatString="Total"

That way it formats the contents of the cell as straight text. That works fine. But how in the world can I set a horizontal alignment for that summation cell only?

Thanks

 

Steven

Parents
No Data
Reply
  • 40030
    Offline posted

    Hi Steven, 

    To do this, you'll actually need to change the style for the SummaryRowCellControl. 

    However, do to what i think is a bug, you'll have to actually retemplate the control, as there isn't a template binding created for the content's Horizontal alignement

    You can find a link to our generic.xaml here:
    http://help.infragistics.com/NetAdvantage/Silverlight/2010.3/CLR4.0/?page=SL_DesignersGuide_Location_of_Generic_xaml_File.html

    Or if you have belnd:

    http://help.infragistics.com/NetAdvantage/Silverlight/2010.3/CLR4.0/?page=SL_DesignersGuide_Editing_Style_Properties_Using_Expression_Blend.html

    -SteveZ 

Children
No Data