Share via


Margin Property

Specifies the margin width created in the text portion of the control. Available at design time and run time.

Control.Margin[ = nValue]

Property Values

  • nValue
    Specifies the margin created in the text portion of the control.

Remarks

Use the Margin property to specify the position of text on the control. The Margin property creates a margin in the interior portion of the control; it doesn't affect the size of the control.

See Also

Alignment Property

Applies To: ComboBox | EditBox | Spinner | TextBox