private void RemoveClearButton() { if (_clearButton.Parent != null) { _container.RemoveFromContainer(_clearButton); } }