Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DropDownButton/SplitButton mouse over still works despite CanExecute of a Command returns false #3262

Closed
makingbloke opened this issue Jun 7, 2018 · 0 comments
Assignees
Labels
Milestone

Comments

@makingbloke
Copy link

makingbloke commented Jun 7, 2018

Hi,

I have the following XAML:

<DropDownButton Width="55" Height="45" ToolTip="Save Attachments" Command="{Binding AttachmentsCommand}" ItemsSource="{Binding AttachmentsMenu}" />

AttachmentsCommand is a RelayCommand (I'm using MVVM Light). If the CanExecuteAttachmentsCommand function returns false then the button part of the DropDownButton is disabled, but the DropDown arrow still changes colour when the mouse moves over it (even though it appears disabled). If the DropDown arrow is disabled by the command then it should ignore mouseover (if I set IsEnabled to false this works correctly).

I'm using version the latest 1.6.4 from Nuget.

Thanks

@punker76 punker76 added the Bug label Jun 14, 2018
@punker76 punker76 self-assigned this Jun 14, 2018
@punker76 punker76 added this to the 2.0.0 milestone Jun 14, 2018
@punker76 punker76 changed the title DropdownButton Dropdown mouseover still works despite CanExecute returning false DropDownButton/SplitButton mouse over still works despite CanExecute of a Command returns false Apr 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants