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

Gets or sets width 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 Width { get; set; }
Visual Basic
<LCategoryAttribute(GetType(ControlsWin), "SizeAndPosition_c",  _
	"Size and position", LCategoryAttribute..::..enmLookUpOrder.ResourceFirst)> _
Public Property Width As Integer
	Get
	Set
Visual C++
[LCategoryAttribute(typeof(ControlsWin), L"SizeAndPosition_c", L"Size and position", 
	LCategoryAttribute..::..enmLookUpOrder::ResourceFirst)]
public:
property int Width {
	int get ();
	void set (int value);
}
F#
[<LCategoryAttribute(typeof(ControlsWin), "SizeAndPosition_c", "Size and position", 
    LCategoryAttribute..::..enmLookUpOrder.ResourceFirst)>]
member Width : int with get, set
JScript
function get Width () : int
function set Width (value : int)

Field Value

New width of the window

Return Value

Current width of the window

Exceptions

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

See Also