| InputPanel for WinForms Task-Based Help > Removing Input Components from C1InputPanel |
You can remove input components from the C1InputPanel control using the designer or code.
To remove an input component using the keyboard, just select the component and press the DELETE key.
To remove an input component, complete these steps:
.Input components can be removed from the panel with the InputComponentCollection.Remove method. The following code example will remove an InputButton component from the panel:
To write code in Visual Basic
| Visual Basic |
Copy Code
|
|---|---|
c1InputPanel1.Items.Remove(inputButton1) |
|
To write code in C#
| C# |
Copy Code
|
|---|---|
c1InputPanel1.Items.Remove(inputButton1); |
|