A runtime form designer control

SpacingCommand Enumeration

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

Example

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

Members

Member NameDescription
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.

Requirements

Namespace: Viklele.Win.Designer

Assembly: Viklele.Win.FormDesigner (in Viklele.Win.FormDesigner.dll)

See Also

Viklele.Win.Designer Namespace | AdjustSelectedComponentsSpacing