Exemplo n.º 1
0
        /// <summary>
        /// Closes the DropDown if opened
        /// </summary>
        public void CloseDropDown()
        {
            if (_dropDown != null)
            {
                _dropDown.Close();
            }

            SetDropDownVisible(false);
        }
Exemplo n.º 2
0
        public void HideDropDown()
        {
            if (_dropdown != null && !_dropdown.IsDisposed)
            {
                _dropdown.Close();
            }

            RemoveHandlers();

            _dropDownVisible = false;
            _dropdown        = null;
        }