NumericUpDown.Top Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the distance, in points, between the top edge of the NumericUpDown and the top edge of the worksheet.
public:
property double Top { double get(); void set(double value); };
public double Top { get; set; }
member this.Top : double with get, set
Public Property Top As Double
Property Value
The distance, in points, between the top edge of the NumericUpDown and the top edge of the worksheet.
Examples
For a code example that demonstrates how to use this property, see Microsoft.Office.Tools.Excel.Controls.Button.Top. All controls in the Microsoft.Office.Tools.Excel.Controls namespace have a functionally equivalent Top
property.
Remarks
The Microsoft.Office.Tools.Excel.Controls.NumericUpDown.Top property uses points, whereas System.Windows.Forms.Control.Top property uses pixels.