)
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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to add a Navigation Control to the WinForms TabControlAdv programmatically?

Platform: WinForms |
Control: TabControlAdv |
Published Date: April 30, 2011 |
Last Revised Date: February 3, 2020

Add a navigation control

1. Navigation Control buttons are mainly used to move to the first tab, last tab, next page, previous page and then moving through every tab.

2. Setting the Navigation Control's Visibility property to "true", displays the Navigation Control in the TabControlAdv.

3. Alignment of the Navigation Control is of two types: Near and Far, this property can be used to align the Navigation Control.

4. Indentation of the Navigation control buttons can also be assigned as an integer value.

5. Images can also be displayed in place of buttons.

This feature is available only in v.4.1.0.64 and later releases

C#

//Setting the property to make the Navigation Control Visible.
this.tabControlAdv1.NavigationControl.Visible =true;
//Setting the Navigation Button Control Indent value
this.tabControlAdv1.NavigationControl.ButtonsIndent = 3;
//Setting the Alignment of the Navigation Control(Far or Near)
this.tabControlAdv1.NavigationControl.Alignment = Syncfusion.Windows.Forms.Tools.NavigationControlAlignment.Near;

VB

'Setting the property to make the Navigation Control Visible.
Me.tabControlAdv1.NavigationControl.Visible = True
'Setting the Navigation Button Control Indent value
Me.tabControlAdv1.NavigationControl.ButtonsIndent = 3
'Setting the Alignment of the Navigation Control(Far or Near)
Me.tabControlAdv1.NavigationControl.Alignment = Syncfusion.Windows.Forms.Tools.NavigationControlAlignment.Near

 

Reference link: https://help.syncfusion.com/windowsforms/tabcontrol/tab-navigation

2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

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

Live Chat Icon For mobile
Live Chat Icon