Get a new instance of the canceleventargs class.
|canceleventargs||A new instance of canceleventargs class. This instance has not been initialized.|
canceleventargs c = new canceleventargs();
It is an automatically generated default fitter. It returns an instance as same as getting by the variable declaration.
The instance returned by this fitter has not been initialized.
The canceleventargs will only appear as an argument of the window closing event handler.
Normally you do not need to create an instance of the canceleventargs class.
Links for reference