DateTimePicker.Padding Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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)

Public Property Padding As Padding

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