Click or drag to resize
ICanvasAnimatedControlDpiScale Property
Gets or sets a scaling factor applied to this control's Dpi.

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

Property Value

Type: Single
Remarks

This scaling factor affects the DPI of the CanvasSwapChain used by this control, as well as the following other members of the control:

  • Dpi property
  • ConvertDipsToPixels
  • ConvertPixelsToDips

A value less than or equal to zero is not valid for this property.

This property may be accessed from any thread.

For more information on using this property, see Choosing resolution for controls.

See Also