public void SetAccessibilityLiveRegion(TFrameworkElement view, string liveRegion) { var liveSetting = AutomationLiveSetting.Off; switch (liveRegion) { case "polite": liveSetting = AutomationLiveSetting.Polite; break; case "assertive": liveSetting = AutomationLiveSetting.Assertive; break; } AutomationProperties.SetLiveSetting(view, liveSetting); AccessibilityHelper.AnnounceIfNeeded(view); }