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 to create an XPTaskBar?

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.

C#

VB

 

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

Article ID: Published Date: Last Revised Date: Platform: Control:
1214 04/30/2011 08/25/2015 Windows Forms XPTaskbar
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.