Esempio n. 1
0
 public GridDropDownAccessibilityObject(
     RadDropDownListElement owner,
     CellAccessibleObject cellAccessibleObject,
     string name)
 {
     this.owner = owner;
     this.WireEvents();
     this.cellAccessibleObject = cellAccessibleObject;
     this.name = name;
 }
Esempio n. 2
0
        internal AccessibleObject NavigateFromChild(
            CellAccessibleObject child,
            AccessibleNavigation navdir)
        {
            switch (navdir)
            {
            case AccessibleNavigation.Up:
            case AccessibleNavigation.Previous:
                return(this.GetChild(child.ID - 1));

            case AccessibleNavigation.Down:
            case AccessibleNavigation.Next:
                return(this.GetChild(child.ID + 1));

            default:
                return((AccessibleObject)null);
            }
        }