Enumeration listing auto-spacing commands available in FormDesigner.
[Visual Basic] Public Enum SpacingCommand [C#] public enum SpacingCommand [C++] public __value enum SpacingCommand [JScript] public enum SpacingCommand
Following example demonstrates how to get uniform vertical spacing between selected components.
[C#]
private void OnEqualVerticalSpace_Click(object sender, System.EventArgs e) {
_FormDesigner.AdjustSelectedComponentsSpacing(SpacingCommand.VerticalSpaceMakeEqual);
}
[Visual Basic]
Private Sub OnEqualVerticalSpace_Click(ByVal sender As Object, ByVal e As System.EventArgs)
_FormDesigner.AdjustSelectedComponentsSpacing SpacingCommand.VerticalSpaceMakeEqual
End Sub
| Member Name | Description |
|---|---|
| HorizontalSpaceConcatenate | Repositions selected components to concatenate them horizontally. |
| HorizontalSpaceIncrease | Increases the horizontal spacing between the selected components. |
| HorizontalSpaceDecrease | Decreases the horizontal spacing between the selected components. |
| HorizontalSpaceMakeEqual | Sets equal horizontal spacing between the selected components. |
| VerticalSpaceConcatenate | Repositions selected components to concatenate them vertically. |
| VerticalSpaceIncrease | Increases the vertical spacing between the selected components. |
| VerticalSpaceDecrease | Decreases the vertical spacing between the selected components. |
| VerticalSpaceMakeEqual | Sets equal vertical spacing between the selected components. |
Namespace: Viklele.Win.Designer
Assembly: Viklele.Win.FormDesigner (in Viklele.Win.FormDesigner.dll)
Viklele.Win.Designer Namespace | AdjustSelectedComponentsSpacing