Home Notices Documents Classes Download Others Rice
Classes  >  sizechangedeventargs  >  NewWidth
sizechangedeventargs class : NewWidth getter

Description

Gets the new width.

Syntax

sizechangedeventargsInstance.NewWidth

Arguments

None

Return value

ClassDescription
realThe new width.

Sample code

1:

open method void anySizeChangedHandler(sizechangedeventargs scea)

2:

...

3:

real newWidth = scea.NewWidth;

4:

...

5:

endmethod

Notes

It's a wrapper of the System.Windows.SizeChangedEventArgs.NewSize Property.

The return value is the device independent pixel.

The sizechangedeventargs will appear as an argument of the sizechanged event handler.

Links for reference

Copyright © Rice All rights reserved.