Click or drag to resize
CanvasCreateResourcesEventArgsReason Property
Indicates why the CreateResources event was raised.

Namespace:  Microsoft.Graphics.Canvas.UI
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public CanvasCreateResourcesReason Reason { get; }

Property Value

Type: CanvasCreateResourcesReason
Remarks
This information can be used to optimize resource recreation. For instance if the DPI has changed, only resources that depend on DPI (such as rendertargets) need to be recreated.
See Also