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

ComboBox context menu. #2261

Closed
ZhiCeYang opened this issue Dec 10, 2015 · 1 comment
Closed

ComboBox context menu. #2261

ZhiCeYang opened this issue Dec 10, 2015 · 1 comment
Assignees
Milestone

Comments

@ZhiCeYang
Copy link

Hi, thanks to develop such a useful tool for WPF developers! Now I got a situation is that I have a combo box, it allows people to edit, but I don't really want the context menu which prompt when I right click the input box. It is not work to set it's context menu property to null, I checked the code, the context menu is from the text box named "PART_EditableTextBox", so how can I remove it ? thank you!

@punker76 punker76 self-assigned this Dec 23, 2015
@punker76 punker76 added this to the 1.4.0 milestone Sep 20, 2016
@punker76 punker76 modified the milestones: 1.5.0, 1.4.0 Nov 20, 2016
@punker76 punker76 modified the milestones: 1.4.0, 1.5.0 Dec 20, 2016
@punker76
Copy link
Member

@ZhiCeYang This will be possible with 1.4.0. You can then disable the ContextMenu.

<ComboBox.ContextMenu>
    <ContextMenu IsEnabled="False"
                 Visibility="Collapsed" />
</ComboBox.ContextMenu>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants