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

How to create an XPTaskBar?

Platform: WinForms |
Control: XPTaskbar |
Published Date: April 30, 2011 |
Last Revised Date: August 25, 2015

You can create an XPTaskBar using the following steps.

  1. Through Designer
  2. Through Code


Through Designer:

First, make sure you have added the components in the Syncfusion.Tools.Windows assembly to your Toolbox. You can do this by right-clicking on the Toolbox and selecting the components from the above assembly that you find listed under .NET Framework Components. The following dialog window appears.


Figure 1: Choosing the Toolbox items

Note: The components of the Syncfusion.Windows.Tools.dll are added in ToolBox, by default.

After choosing the components from the dialog box, the selected components are added to your Toolbox.

Figure 2: XPTaskBar added to the Toolbox

Once Syncfusion components are added to your Toolbox, you can drag-and-drop the XPTaskBar component onto your form. Then use the XPTaskBar’s smart tag option "Add TaskBarBox" to add XPTaskBarBoxes to the XPTaskBar. You can add one or more items to the boxes through the property browser.

Figure 3: Add XPTaskBar Boxes in XPTaskBar by using the smart tag


Through Code:

You can create an XPTaskBar by using the following code example.




Figure 4: XPTaskBar created through designer

Figure 5: XPTaskBar created through code

Sample Links:

Through Designer:

C#: XPTaskBar_Designer_C#

VB: XPTaskBar_Designer_VB


Through Code:

C#: XPTaskBar_Code_C#

VB: XPTaskBar_Code_VB

2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
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.

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