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.

TabContols RightToLeft

Thread ID:

Created:

Updated:

Platform:

Replies:

64887 Jul 24,2007 09:24 AM Jul 24,2007 02:20 PM Windows Forms 1
loading
Tags: GridControl
shuvendu
Asked On July 24, 2007 09:24 AM

Hi all,
I am using tabControlAdv1 contol.In that i have wrtten

this.tabControlAdv1.RightToLeft = System.Windows.Forms.RightToLeft.Yes;

I have put a syncfusion grid control in the tab page.But along with tabs the grid also moves to right from left

pls Help.

Thanks in advance

Shuvendu

haneefm [Syncfusion]
Replied On July 24, 2007 02:20 PM

Hi Shuvendu,

You can control the RightToLeft settings when adding the grid into TabControl by overriding the OnRightToLeftChanged method in a derived GridControl class. Below are the code snippet

public class MyGridControl : GridControl
{
protected override void OnRightToLeftChanged(EventArgs e)
{
this.RightToLeft = RightToLeft.No;
base.OnRightToLeftChanged(e);
}
}

Best regards,
Haneef

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.

;