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.

RightToLeft property of RowHeader (of gridControl)

Thread ID:

Created:

Updated:

Platform:

Replies:

91174 Nov 8,2009 09:45 AM Nov 9,2009 07:05 AM Windows Forms 7
loading
Tags: GridControl
Allon
Asked On November 8, 2009 09:45 AM

Hi everyone,

I'd like to know, if there is any RightToLeft property of RowHeader (of gridControl).

Regards,
Allon

Jisha Joy [Syncfusion]
Replied On November 9, 2009 02:11 AM

Hi Allon,

You could use the following code for the right to left support.

this.gridControl1.RightToLeft = RightToLeft.Yes;

Thank you for posting query to us.
Regards,
Jisha

Allon
Replied On November 9, 2009 02:35 AM

Hi Jisha,

The command you have sent me, doesn't fix the problem. No matter what I do (including your last message), the text of the row header, remains in the left side of the row header.

I use:
Visual Studio 2005
Essential Studio 7.3.0.20

Thanks in advance,
Allon

Jisha Joy [Syncfusion]
Replied On November 9, 2009 04:59 AM

Hi Allon,

You could try using the HorizontalAlignment property to aligh the text alone.

this.gridControl1.Model.BaseStylesMap["Row Header"].StyleInfo.HorizontalAlignment = GridHorizontalAlignment.Right;


Regards,
Jisha

Allon
Replied On November 9, 2009 06:16 AM

Hi Jisha,

I tried to use what you have sent me, but it didn't work out. It will be really appreciated, if you could sent me little app, that demonstrate how to align text in the left side, right right side and in the center of the row header.

Regards,
Allon

Jisha Joy [Syncfusion]
Replied On November 9, 2009 06:24 AM

Hi Allon,

Attached the sample that shows alignment of row header text to right.

Regards,
Jisha



GCAlign_548cf0b8.zip

Allon
Replied On November 9, 2009 06:56 AM

Thanks a lot, Jisha.

Have a nice day :)
Allon

Jisha Joy [Syncfusion]
Replied On November 9, 2009 07:05 AM

Hi Allon,

Thank you for your update.

Regards,
Jisha

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.

;