Class ToplevelClosingEventArgs
System.EventArgs implementation for the Closing event.
Inheritance
System.Object
System.EventArgs
ToplevelClosingEventArgs
Inherited Members
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: Terminal.Gui
Assembly: Terminal.Gui.dll
Syntax
public class ToplevelClosingEventArgs : EventArgs
Constructors
| Improve this Doc View SourceToplevelClosingEventArgs(Toplevel)
Initializes the event arguments with the requesting toplevel.
Declaration
public ToplevelClosingEventArgs(Toplevel requestingTop)
Parameters
Type | Name | Description |
---|---|---|
Toplevel | requestingTop | The RequestingTop. |
Properties
| Improve this Doc View SourceCancel
Provides an event cancellation option.
Declaration
public bool Cancel { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
RequestingTop
The toplevel requesting stop.
Declaration
public View RequestingTop { get; }
Property Value
Type | Description |
---|---|
View |