internal override bool IsPatternSupported(UiaCore.UIA patternId)
            {
                if (patternId.Equals(UiaCore.UIA.LegacyIAccessiblePatternId))
                {
                    return(true);
                }

                return(base.IsPatternSupported(patternId));
            }
 internal override bool IsPatternSupported(UiaCore.UIA patternId)
 {
     return(patternId.Equals(UiaCore.UIA.LegacyIAccessiblePatternId) ||
            patternId.Equals(UiaCore.UIA.InvokePatternId));
 }