[This is preliminary documentation and is subject to change.]

Gets x coordinate of right edge of the window

Namespace: Tools.WindowsT.NativeT
Assembly: 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 Right { get; }
Visual Basic
<LCategoryAttribute(GetType(ControlsWin), "SizeAndPosition_c",  _
	"Size and position", LCategoryAttribute..::..enmLookUpOrder.ResourceFirst)> _
Public ReadOnly Property Right As Integer
	Get
Visual C++
[LCategoryAttribute(typeof(ControlsWin), L"SizeAndPosition_c", L"Size and position", 
	LCategoryAttribute..::..enmLookUpOrder::ResourceFirst)]
public:
property int Right {
	int get ();
}
F#
[<LCategoryAttribute(typeof(ControlsWin), "SizeAndPosition_c", "Size and position", 
    LCategoryAttribute..::..enmLookUpOrder.ResourceFirst)>]
member Right : int
JScript
function get Right () : int

Return Value

Current x-coordinate of right edge of the window

Remarks

For top-level windows the location is in screen coordinates, for windows with Parent in parent' coordinates.

Exceptions

ExceptionCondition
Tools.API..::..Win32APIExceptionObtaining of window's rectangle failed, ie. Handle is invalid

See Also