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

Description

Gets a value that indicates whether the width changed.

Syntax

sizechangedeventargsInstance.WidthChanged

Arguments

None

Return value

ClassDescription
boolA value that indicates whether the width changed.

Sample code

1:

open method void anySizeChangedHandler(sizechangedeventargs scea)

2:

...

3:

bool changed = scea.WidthChanged;

4:

...

5:

endmethod

Notes

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

If the width changed, returns true. Otherwise, returns false.

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

Links for reference

Copyright © Rice All rights reserved.