Indicates why a CreateResources event was raised.
Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
public enum CanvasCreateResourcesReason
|FirstTime||0||First time resource creation. Everything must be created from scratch.|
|NewDevice||1||A new device has been created, to recover from a lost device error. All
graphics resources must be recreated, but other data (for example memory
buffers that were previously loaded from the filesystem) may be reused.|
|DpiChanged||2||The display DPI has changed.
Only resources that depend on DPI need to be recreated.|Remarks See Also