Click or drag to resize
ICanvasAnimatedControlSize Property
Gets the current size of the control, in device independent pixels (DIPs).

Namespace:  Microsoft.Graphics.Canvas.UI.Xaml
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
Size Size { get; }

Property Value

Type: Size
Remarks

This property may be accessed from any thread, including the game loop thread. This means that it can be accessed from an Update or Draw handler.

For more information, see DPI and DIPs.

See Also