Ejemplo n.º 1
0
 public GridDropDownAccessibilityObject(
     RadDropDownListElement owner,
     CellAccessibleObject cellAccessibleObject,
     string name)
 {
     this.owner = owner;
     this.WireEvents();
     this.cellAccessibleObject = cellAccessibleObject;
     this.name = name;
 }
Ejemplo 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);
            }
        }