Share via


MessagingCenter.Instance Property

Definition

Gets the singleton instance of the MessagingCenter.

public:
 static property Microsoft::Maui::Controls::IMessagingCenter ^ Instance { Microsoft::Maui::Controls::IMessagingCenter ^ get(); };
public static Microsoft.Maui.Controls.IMessagingCenter Instance { get; }
static member Instance : Microsoft.Maui.Controls.IMessagingCenter
Public Shared ReadOnly Property Instance As IMessagingCenter

Property Value

The singleton instance of the MessagingCenter.

Applies to