RemoveSelection() публичный Метод

public RemoveSelection ( int i ) : bool
i int
Результат bool
Пример #1
0
        public bool RemoveSelection(int i)
        {
            if (!selectionHelper.IsChildSelected(i))
            {
                return(true);
            }

            bool success = selectionHelper.RemoveSelection(i);

            //will likely never happen because UIA throws IOE...
            if (success)
            {
                string propagateName = null;
                if (!selProvider.CanSelectMultiple)
                {
                    propagateName = String.Empty;
                }
                RaiseSelectionChanged(propagateName);
            }

            return(success);
        }
Пример #2
0
 public virtual bool RemoveSelection(int i)
 {
     return(selectionHelper.RemoveSelection(i));
 }
Пример #3
0
 public bool RemoveSelection(int i)
 {
     return(selectionHelper.RemoveSelection(i));
     //in the past, we did this because ComboBox doesn't support this: return false;
 }