Click or drag to resize

CancelableEvent Structure

Allow event to be canceled by assigning a new event to Value or null.
Inheritance Hierarchy
SystemObject
  SystemValueType
    Demo3D.EventQueueCancelableEvent

Namespace: Demo3D.EventQueue
Assembly: Demo3D.EventQueue (in Demo3D.EventQueue.dll) Version: 19.00.00
Syntax
C#
public struct CancelableEvent

The CancelableEvent type exposes the following members.

Properties
 NameDescription
Public propertyHasValue Is there a current event that hasn't been canceled.
Public propertyValue Current event. Setting this to a new event (or null) cancels the previous event. Events are automatically set to canceled once the have been occurred.
Top
Methods
 NameDescription
Public methodCancel Cancel the current event (equivalent to setting Value to null).
Public methodSchedule Schedule a new event.
Public methodToString Event string representation.
(Overrides ValueTypeToString)
Top
See Also