private async void ServerStatePropertyChanged(object sender, PropertyChangedEventArgs e) { // Currently, only the DatabaseBlocked property, but we could use this for more. if (e.PropertyName == "DatabaseBlocked" || e.PropertyName.StartsWith("Server")) { await StateChangedAsync("ServerStateChanged", e.PropertyName, e.GetPropertyValue(sender)); } }