private static bool HasAllowedPlatformPropertiesForText(IA11yElement e) { return(!WinForms.Matches(e) || !HasStaticEdgeExtendedStyle(e)); }