Click or drag to resize
ICanvasAnimatedControlUseSharedDevice Property
Gets or sets whether this control should create a new device each time, or use a device which may common between other controls.

Namespace:  Microsoft.Graphics.Canvas.UI.Xaml
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version:
bool UseSharedDevice { get; set; }

Property Value

Type: Boolean

This property is set to false by default.

Modifying this option will cause re-creation of the control's device, if it already has one.

If this property is set to true, the control will get its devices from CanvasDevice.GetSharedDevice(Boolean).

See Also