![ultraexplorerbar on design surface](images/Win_WinFormattedLinkLabel_Walkthrough_Adding_a_Hyperlink_as_an_Item_in_WinExplorerBar_01.png)
The FormattedLinkEditor class gives you the ability to add hyperlinks to any Ultimate UI for Windows Forms control which uses embeddable editors. FormattedLinkEditor derives from the embeddable editors base class in order to give Ultimate UI for Windows Forms controls this functionality. This topic will guide you through the task of setting up the WinExplorerBar™ control with a single group containing three items, all using the FormattedLinkEditor class.
Create a WinExplorerBar
Drag an UltraExplorerBar control from the toolbox onto your Windows form.
In the Properties window, find the Dock property and set it to Left.
Create a group and three items
Right-click on the ExplorerBar and select "Add Group". A group is added.
Right-click on the Group and select "Add Item". An item is added to the group.
Add two more items to the group by repeating the previous step twice.
Create hyperlinks in the three items
Right-click the WinExplorerBar control and select "UltraExplorerBar Designer…". The UltraExplorerBar Designer displays.
Expand the first group.
Select the first item in the group and set its Text property to "<a href="www.infragistics.com">Infragistics</a>".
Select the second item in the group and set its Text property to "<a href="www.microsoft.com">Microsoft</a>".
Select the third item in the group and set its Text property to "<a href="www.google.com">Google</a>".
Click Close.
Set WinExplorerBar’s editor control to a WinFormattedLinkLabel
Drag an UltraFormattedLinkLabel control from the toolbox onto your Windows form.
Make sure the WinExplorerBar is selected and expand ItemSettings in the Properties window.
Find the EditorControl property and set it to ultraFormattedLinkLabel1. The items in the WinExplorerBar change from raw text to formatted hyperlinks.
Run the Program
Click on any of the links and an Internet Explorer window will open with the appropriate link.