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

Description

Gets the previous width.

Syntax

sizechangedeventargsInstance.PrevWidth

Arguments

None

Return value

ClassDescription
realThe previous width.

Sample code

1:

open method void anySizeChangedHandler(sizechangedeventargs scea)

2:

...

3:

real prevWidth = scea.PrevWidth;

4:

...

5:

endmethod

Notes

It's a wrapper of the System.Windows.SizeChangedEventArgs.PreviousSize 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.