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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

RightToLeft property of RowHeader (of gridControl)

Thread ID:

Created:

Updated:

Platform:

Replies:

91174 Nov 8,2009 02:45 PM UTC Nov 9,2009 12:05 PM UTC WinForms 7
loading
Tags: GridControl
Allon
Asked On November 8, 2009 02:45 PM UTC

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 07:11 AM UTC

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 07:35 AM UTC

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 09:59 AM UTC

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 11:16 AM UTC

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 11:24 AM UTC

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 11:56 AM UTC

Thanks a lot, Jisha.

Have a nice day :)
Allon

Jisha Joy [Syncfusion]
Replied On November 9, 2009 12:05 PM UTC

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.

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

;