CanvasCreateResourcesEventArgs.Reason 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
RemarksThis 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