public void SetImportantForAccessibility(BorderedCanvas view, string importantForAccessibilityValue) { var importantForAccessibility = EnumHelpers.ParseNullable <ImportantForAccessibility>(importantForAccessibilityValue) ?? ImportantForAccessibility.Auto; AccessibilityHelper.SetImportantForAccessibility(view, importantForAccessibility); }
public void SetImportantForAccessibility(ReactTextBox view, string importantForAccessibilityValue) { var importantForAccessibility = EnumHelpers.ParseNullable <ImportantForAccessibility>(importantForAccessibilityValue) ?? ImportantForAccessibility.Auto; AccessibilityHelper.SetImportantForAccessibility(view, importantForAccessibility); }