internal static INSAccessibility GetNSAccessibilityElement(GLib.Object o) { IntPtr handle = GtkWorkarounds.GetData(o, XamarinPrivateAtkCocoaNSAccessibilityKey); // The object returned could either be an NSAccessibilityElement or it might be an NSObject that implements INSAccessibility return(Runtime.GetNSObject <NSObject> (handle, false) as INSAccessibility); }