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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Header Text alignment in GridListControl

Thread ID:





37543 Nov 24,2005 10:24 AM UTC Nov 24,2005 11:58 AM UTC WinForms 2
Tags: GridControl
Anne-Laure Dalban-Pilon
Asked On November 24, 2005 10:24 AM UTC

I want to left align my header text in a GridListControl I set the property HorizontalAlignment to left, my rows are leftalign but my header text still be centered. Any idea?

Administrator [Syncfusion]
Replied On November 24, 2005 10:47 AM UTC

To left align the header text, try setting: this.gridListControl1.Grid.BaseStylesMap["Column Header"].StyleInfo.HorizontalAlignment = GridHorizontalAlignment.Left;

Anne-Laure Dalban-Pilon
Replied On November 24, 2005 11:58 AM UTC

it works fine !! thank you!! >To left align the header text, try setting: > >this.gridListControl1.Grid.BaseStylesMap["Column Header"].StyleInfo.HorizontalAlignment = GridHorizontalAlignment.Left; >


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon