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.

Header Text alignment in GridListControl

Thread ID:

Created:

Updated:

Platform:

Replies:

37543 Nov 24,2005 05:24 AM Nov 24,2005 06:58 AM Windows Forms 2
loading
Tags: GridControl
Anne-Laure Dalban-Pilon
Asked On November 24, 2005 05:24 AM

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 05:47 AM

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 06:58 AM

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

CONFIRMATION

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.

;