AddSelection() public method

public AddSelection ( int i ) : bool
i int
return bool
Exemplo n.º 1
0
        public bool AddSelection(int i)
        {
            bool success = selectionHelper.AddSelection(i);

            if (success)
            {
                string propagateName = null;
                if (!selProvider.CanSelectMultiple)
                {
                    Atk.Object selected = RefSelection(0);
                    if (selected != null)
                    {
                        propagateName = selected.Name;
                    }
                }
                RaiseSelectionChanged(propagateName);
            }

            // TODO: Report gail bug, and return 'success' instead
            return(true);
        }
Exemplo n.º 2
0
 public bool AddSelection(int i)
 {
     selectionHelper.AddSelection(i);
     //FIXME: currently unit-tests force this to always true, we may be interested in changing them when we report the gail bug about this (see ComboBox.cs)
     return(true);
 }
Exemplo n.º 3
0
 public virtual bool AddSelection(int i)
 {
     return(selectionHelper.AddSelection(i));
     //return ((ComboBoxItem)RefAccessibleChild (i)).DoAction (0);
 }
Exemplo n.º 4
0
 public bool AddSelection(int i)
 {
     /* bool success = */ selectionHelper.AddSelection(i);
     // TODO: Report gail bug, and return 'success' instead
     return(true);
 }
Exemplo n.º 5
0
 public bool AddSelection(int i)
 {
     return(selectionHelper.AddSelection(i));
 }