Click or drag to resize
CanvasAnimatedControlUseSharedDevice 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: 0.0.0.0
Syntax
C#
public bool UseSharedDevice { get; set; }

Property Value

Type: Boolean

Implements

ICanvasAnimatedControlUseSharedDevice
Remarks

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