private void OnDropDownClick(object sender, RoutedEventArgs e) { if (canOpenDropDown) IsDropDownOpen = true; }