DeviceDisplay.MainDisplayInfoChanged 事件

定义

当main显示器的信息更改时发生。

public:
 static event EventHandler<Microsoft::Maui::Devices::DisplayInfoChangedEventArgs ^> ^ MainDisplayInfoChanged;
public static event EventHandler<Microsoft.Maui.Devices.DisplayInfoChangedEventArgs> MainDisplayInfoChanged;
member this.MainDisplayInfoChanged : EventHandler<Microsoft.Maui.Devices.DisplayInfoChangedEventArgs> 
Public Shared Custom Event MainDisplayInfoChanged As EventHandler(Of DisplayInfoChangedEventArgs) 

事件类型

适用于