We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

TextAlignment for Summary Rows

Thread ID:





17251 Aug 4,2004 09:35 AM Aug 5,2004 02:10 AM Windows Forms 2
Tags: GridControl
Administrator [Syncfusion]
Asked On August 4, 2004 09:35 AM

I have a summary row displayed as the caption bar in a GridGroupingControl. I''d like the summary columns to be right-aligned so I tried: grid.Engine.Appearance.GroupCaptionSummaryCell.TextColor = Color.Green; grid.Engine.Appearance.GroupCaptionSummaryCell.TextAlign = GridTextAlign.Right; My text is displayed in the correct colour but the text remains left-aligned. Some of the summary columns are displayed using a custom cell renderer and I''ve tried setting the text alignment there too but to no avail. My grid is bound to a ADO.Net DataTable. Please could you tell me how to fix this. Thanks, Ben.

Administrator [Syncfusion]
Replied On August 4, 2004 10:02 AM

TextAlign is for aligning where a text is placed next to a button (to the left or right). Try setting the HorizontalTextAlignment property instead.

Administrator [Syncfusion]
Replied On August 5, 2004 02:10 AM

Thanks Clay. Should have known that one. Needless to say it now works perfectly. Ben.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.