共用方式為


Window.IWindow.DisplayDensityChanged(Single) Method

Definition

 virtual void Microsoft.Maui.IWindow.DisplayDensityChanged(float displayDensity) = Microsoft::Maui::IWindow::DisplayDensityChanged;
void IWindow.DisplayDensityChanged (float displayDensity);
abstract member Microsoft.Maui.IWindow.DisplayDensityChanged : single -> unit
override this.Microsoft.Maui.IWindow.DisplayDensityChanged : single -> unit
Sub DisplayDensityChanged (displayDensity As Single) Implements IWindow.DisplayDensityChanged

Parameters

displayDensity
Single

Implements

Applies to