| InputPanel for WinForms Task-Based Help > Working with InputDataNavigator Items > Adding Custom Images to InputDataNavigator Items |
In this topic, you will add a custom image to an InputDataNavigator item using the designer and code.
The image used in this topic appears in the table below. To use this image, right-click the graphic to open its context menu, select Save Picture As, and then save the image as a .bmp file.
| Image |
If you prefer, you can use your own 16 x 16 bitmap image.
To add custom images, complete these steps:
The C1InputPanel Collection Editor opens.
An InputDataNavigator component appears in the Members pane.
The Select Resource dialog box opens.
The Open dialog box opens.

To add custom images, complete these steps:
The C1InputPanel Collection Editor opens.
An InputDataNavigator component appears in the Members pane.
To write code in Visual Basic
| Visual Basic |
Copy Code
|
|---|---|
Imports C1.Win.InputPanel |
|
To write code in C#
| C# |
Copy Code
|
|---|---|
using C1.Win.InputPanel; |
|
To write code in Visual Basic
| Visual Basic |
Copy Code
|
|---|---|
inputDataNavigator1.MovePreviousImage = System.Drawing.Bitmap.FromFile("C:\Images\YourCustomImage.gif")
|
|
To write code in C#
| C# |
Copy Code
|
|---|---|
inputDataNavigator1.MovePreviousImage = System.Drawing.Bitmap.FromFile(@"C:\Images\YourCustomImage.gif"); |
|
The following image shows InputDataNavigator's Move Previous button with a custom image: