TabContols RightToLeft

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

1 Reply

HA haneefm Syncfusion Team July 24, 2007 06:20 PM UTC

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

Loader.
Up arrow icon