| InputPanel for WinForms Task-Based Help > Arranging C1InputPanel's Input Components > Creating a Spacing Scheme for Input Components |
By default, the components added to a C1InputPanel control are in close proximity to one another. By setting the value of the ChildSpacing property, you can create a uniform spacing scheme for your panel.
![]() |
Note: Once the ChildSpacing property is set, all components that you add to the page will conform to that setting. However, you can still change the spacing of individual components by manipulating their Padding property. For more information, see Arranging Input Components Using Padding. |
To set the ChildSpacing property, complete these steps:
The C1InputPanel Collection Editor opens.




To set the ChildSpacing property, complete these steps:
To write code in Visual Basic
| Visual Basic |
Copy Code
|
|---|---|
Imports C1.Win.C1InputPanel |
|
To write code in C#
| C# |
Copy Code
|
|---|---|
using C1.Win.C1InputPanel; |
|
To write code in Visual Basic
| Visual Basic |
Copy Code
|
|---|---|
c1InputPanel1.ChildSpacing = New Size(20, 20) |
|
To write code in C#
| C# |
Copy Code
|
|---|---|
c1InputPanel1.ChildSpacing = New Size(20, 20); |
|