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.

How do I add a Navigation Control to the TabControlAdv programmatically?

 

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

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

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

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

Images can also be displayed in place of buttons.

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

Here is the code Snippet :

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

Article ID: Published Date: Last Revised Date: Platform: Control:
1374 04/30/2011 07/10/2014 Windows Forms TabControlAdv
Tags:
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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.