Partager via


DateTimePicker.Bottom Property

Gets the distance, in points, between the bottom edge of the DateTimePicker and the top edge of the worksheet.

Namespace:  Microsoft.Office.Tools.Excel.Controls
Assembly:  Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)

Syntax

'Declaration
Public ReadOnly Property Bottom As Double
public double Bottom { get; }

Property Value

Type: System.Double
The distance, in points, between the bottom edge of the DateTimePicker and the top edge of the worksheet.

Remarks

The value of this property is equal to the sum of the Top property value and the Height property value.

The DateTimePicker.Bottom property uses points, whereas the Control.Bottom property uses pixels.

Examples

For a code example that demonstrates how to use this property, see Button.Bottom. All controls in the Microsoft.Office.Tools.Excel.Controls namespace have a functionally equivalent Bottom property.

.NET Framework Security

See Also

Reference

DateTimePicker Class

Microsoft.Office.Tools.Excel.Controls Namespace