[This is preliminary documentation and is subject to change.]
Gets or sets x coordinale of left edge of the window.
Namespace: Tools.WindowsT.NativeTAssembly: Tools.Win (in Tools.Win.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
[LCategoryAttribute(typeof(ControlsWin), "SizeAndPosition_c", "Size and position", LCategoryAttribute..::..enmLookUpOrder.ResourceFirst)] public int Left { get; set; } |
| Visual Basic |
|---|
<LCategoryAttribute(GetType(ControlsWin), "SizeAndPosition_c", _ "Size and position", LCategoryAttribute..::..enmLookUpOrder.ResourceFirst)> _ Public Property Left As Integer Get Set |
| Visual C++ |
|---|
[LCategoryAttribute(typeof(ControlsWin), L"SizeAndPosition_c", L"Size and position", LCategoryAttribute..::..enmLookUpOrder::ResourceFirst)] public: property int Left { int get (); void set (int value); } |
| F# |
|---|
[<LCategoryAttribute(typeof(ControlsWin), "SizeAndPosition_c", "Size and position", LCategoryAttribute..::..enmLookUpOrder.ResourceFirst)>] member Left : int with get, set |
| JScript |
|---|
function get Left () : int function set Left (value : int) |
Field Value
New x coordinate of left edge of the windowReturn Value
Current x coordinate of left edge of the window
Remarks
In some multi-monitor configurations the left edge of desktop can be negative number. In such case Left can be also negative and it does not necesarilly mean that the window is outside of the desktop.
For top-level windows the location is in screen coordinates, for windows with Parent in parent' coordinates.
Exceptions
| Exception | Condition |
|---|---|
| Tools.API..::..Win32APIException | Setting or obtaining of window's rectangle failed, ie. Handle is invalid |