Home Notices Documents Classes Download Others Rice
Classes  >  window  >  Width
window class : Width getter

Description

Gets the width of the window. In device independent pixel.

Syntax

windowInstance.Width

Arguments

None

Return value

ClassDescription
realThe width of the window. In device independent pixel.

Sample code

1:

window w = new window();

2:

real width = w.Width;

Notes

It's a wrapper of the System.Windows.FrameworkElement.Width property.

The return value is the device independent pixel.

Links for reference

Copyright © Rice All rights reserved.