Show / Hide Table of Contents

Class ClosingEventArgs

Provides data for the Closing event.

Inheritance
System.Object
System.EventArgs
System.ComponentModel.CancelEventArgs
ClosingEventArgs
Inherited Members
System.ComponentModel.CancelEventArgs.Cancel
System.EventArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.ComponentModel
Assembly: OpenSilver.dll
Syntax
public class ClosingEventArgs : CancelEventArgs

Constructors

| Improve this Doc View Source

ClosingEventArgs(Boolean)

Initializes a new instance of the ClosingEventArgs class.

Declaration
public ClosingEventArgs(bool isCancelable)
Parameters
Type Name Description
System.Boolean isCancelable

Initializes the IsCancelable property.

Properties

| Improve this Doc View Source

IsCancelable

Gets a value that indicates whether you can cancel the Closing event.

Declaration
public bool IsCancelable { get; }
Property Value
Type Description
System.Boolean

true if you can cancel the event; otherwise, false.

  • Improve this Doc
  • View Source