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

public ClearSelection ( ) : bool
Результат bool
Пример #1
0
        public bool ClearSelection()
        {
            bool success = selectionHelper.ClearSelection();

            //will likely never happen because UIA throws IOE...
            if (success)
            {
                RaiseSelectionChanged(String.Empty);
            }

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