public void RemoveFocus(PinouInputReceiver ir) { if (_focuses.Contains(ir) == true) { _focuses.Remove(ir); ir.LooseFocus(this); } }
public void RemoveAllFocuses() { for (int i = _focuses.Count - 1; i >= 0; i--) { PinouInputReceiver ir = _focuses[i]; _focuses.RemoveAt(i); ir.LooseFocus(this); } }