# Adding JumpPaths

## Content



Jump paths are links from the jump list to a specified file. Please note that your application has to have the file type of this link registered, otherwise Jump Paths will simply not appear on the jump list.

### In the Designer

Complete the following steps:

1.  Open the **C1JumpList.Items Collection Editor** in one of the following ways:
    *   Click the [C1TaskbarButton](/componentone/api/win/online-winpack/dotnet-framework-api/C1.Win.C1Win7Pack.4.8/C1.Win.C1Win7Pack.C1TaskbarButton.html)s smart tag to open the **C1TaskbarButton Tasks Menu** and select **Edit Jump Items**.
        
        OR
        
    *   In the **Properties** window, expand the [JumpList](/componentone/api/win/online-winpack/dotnet-framework-api/C1.Win.C1Win7Pack.4.8/C1.Win.C1Win7Pack.C1TaskbarButton.JumpList.html) node and then, next to [Items](/componentone/api/win/online-winpack/dotnet-framework-api/C1.Win.C1Win7Pack.4.8/C1.Win.C1Win7Pack.C1JumpList.Items.html), click the ellipses button.
2.  In the **C1JumpList.Items Collection Editor**, open the **Add** drop-down list and select [C1JumpPath](/componentone/api/win/online-winpack/dotnet-framework-api/C1.Win.C1Win7Pack.4.8/C1.Win.C1Win7Pack.C1JumpPath.html).
3.  Set the properties in the properties grid. There are only two properties, [CustomCategory](/componentone/api/win/online-winpack/dotnet-framework-api/C1.Win.C1Win7Pack.4.8/C1.Win.C1Win7Pack.C1JumpItem.CustomCategory.html) and [Path](/componentone/api/win/online-winpack/dotnet-framework-api/C1.Win.C1Win7Pack.4.8/C1.Win.C1Win7Pack.C1JumpPath.Path.html), available for a C1JumpPath.

### In Code

The following code creates one C1JumpPath and adds it to the jump list:

DOC-DETAILS-TAG-OPEN

DOC-SUMMARY-TAG-OPEN

To write code in Visual Basic

DOC-SUMMARY-TAG-CLOSE

```vbnet
Dim C1JumpPath1 As New C1JumpPath()
C1TaskbarButton1.JumpList.Items.Add(C1JumpPath1)
```

DOC-DETAILS-TAG-CLOSE

DOC-DETAILS-TAG-OPEN

DOC-SUMMARY-TAG-OPEN

To write code in C#

DOC-SUMMARY-TAG-CLOSE

```csharp
C1JumpPath c1JumpPath1 = new C1JumpPath();
c1TaskbarButton1.JumpList.Items.Add(c1JumpPath1);
```

DOC-DETAILS-TAG-CLOSE

If you'd like to add a range of C1JumpPaths to the jump list, you can use the [AddRange](/componentone/api/win/online-winpack/dotnet-framework-api/C1.Win.C1Win7Pack.4.8/C1.Win.C1Win7Pack.CustomButtonCollection.AddRange.html) method instead, like this:

DOC-DETAILS-TAG-OPEN

DOC-SUMMARY-TAG-OPEN

To write code in Visual Basic

DOC-SUMMARY-TAG-CLOSE

```vbnet
Dim C1JumpPath1 As New C1JumpPath()
Dim C1JumpPath2 As New C1JumpPath()
C1TaskbarButton1.JumpList.Items.AddRange(New C1.Win.C1Win7Pack.C1JumpPath() {C1JumpPath1, C1JumpPath2})
```

DOC-DETAILS-TAG-CLOSE

DOC-DETAILS-TAG-OPEN

DOC-SUMMARY-TAG-OPEN

To write code in C#

DOC-SUMMARY-TAG-CLOSE

```csharp
C1JumpPath C1JumpPath1 = new C1JumpPath();C1JumpPath C1JumpPath2 = new C1JumpPath();
c1TaskbarButton1.JumpList.Items.AddRange(new C1.Win.C1Win7Pack.C1JumpPath[] {
    C1JumpPath1,
    C1JumpPath2});
```

DOC-DETAILS-TAG-CLOSE