Click or drag to resize
CanvasCreateResourcesEventArgs Class
Provides data for the CreateResources event.
Inheritance Hierarchy
SystemObject
  Microsoft.Graphics.Canvas.UICanvasCreateResourcesEventArgs

Namespace:  Microsoft.Graphics.Canvas.UI
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public sealed class CanvasCreateResourcesEventArgs

The CanvasCreateResourcesEventArgs type exposes the following members.

Constructors
  NameDescription
Public methodCanvasCreateResourcesEventArgs
Initializes a new instance of the CanvasCreateResourcesEventArgs class.
Top
Properties
  NameDescription
Public propertyReason
Indicates why the CreateResources event was raised.
Top
Methods
  NameDescription
Public methodGetTrackedAction
Gets the asynchronous tracked action stored by this object.
Public methodTrackAsyncAction
Causes the sender to track an action that must completed before the CreateResources operation can be considered finished.
Top
Remarks

Typically, instances of CanvasCreateResourcesEventArgs are created by Win2D controls and passed to the application through its CreateResources event handler. However, applications may choose to create their own instances of CanvasCreateResourcesEventArgs for unit testing purposes.

See Also