Exemplo n.º 1
0
        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);
        }