Compartilhar via


TrackBar.Top Property

Definition

Gets or sets the distance, in points, between the top edge of the TrackBar 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 TrackBar 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.TrackBar.Top property uses points, whereas System.Windows.Forms.Control.Top property uses pixels.

Applies to