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); }
public virtual bool RemoveSelection(int i) { return(selectionHelper.RemoveSelection(i)); }
public bool RemoveSelection(int i) { return(selectionHelper.RemoveSelection(i)); //in the past, we did this because ComboBox doesn't support this: return false; }