Padding Property

DateTimePicker.Padding Property

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Gets or sets the spacing between the contents of the DateTimePicker control and its edges.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

[BrowsableAttribute(false)]
public Padding Padding { get; set; }

Property Value

Type: System.Windows.Forms.Padding

Empty in all cases.

Setting the Padding property has no effect on the DateTimePicker control.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft