TrackBar.Left Property

Definition

Gets or sets the distance, in points, between the left edge of the TrackBar and the left edge of the worksheet.

public:
 property double Left { double get(); void set(double value); };
public double Left { get; set; }
member this.Left : double with get, set
Public Property Left As Double

Property Value

The distance, in points, between the left edge of the TrackBar and the left edge of the worksheet.

Examples

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

Remarks

The Microsoft.Office.Tools.Excel.Controls.TrackBar.Left property uses points, whereas System.Windows.Forms.Control.Left property uses pixels.

Setting the value to a negative number or a number higher than 12288 does not throw an exception but results in the control being set between 0 and 12288.

Applies to