public void TriggerValueChanged() { Header.Label = SelectedItem?.DisplayText; State = DropDownMenuState.Closed; ValueChanged?.Invoke(this, null); }
public void Toggle() => State = State == DropDownMenuState.Closed ? DropDownMenuState.Opened : DropDownMenuState.Closed;
protected override void OnFocusLost(InputState state) => State = DropDownMenuState.Closed;