public Accessible ElementFromObject(object o) { if (o is int) return new Accessible(mElement, (int)o); IAccessible acc = o as IAccessible; if (acc != null) return new Accessible(acc, 0); return null; }