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:
Size Size { get; }

Property Value

Type: Size

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