Udostępnij za pośrednictwem


DesktopSiteBridge.OverrideScale Property

Definition

Gets or sets the scaling factor used by a ContentSite owned by the associated Win32 HWND.

public:
 property float OverrideScale { float get(); void set(float value); };
float OverrideScale();

void OverrideScale(float value);
public float OverrideScale { get; set; }
var single = desktopSiteBridge.overrideScale;
desktopSiteBridge.overrideScale = single;
Public Property OverrideScale As Single

Property Value

Single

float

The scaling factor used by a ContentSite.

Implements

Remarks

Setting this value overrides the Microsoft.UI.Content.ContentIsland.RasterizationScale value.

Applies to