Click or drag to resize
CanvasControlUseSharedDevice 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
Remarks

This property is set to true 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