Home Forums WPF controls Xceed DataGrid for WPF ComboBox and ContextMenu

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #25068 |

    Hello,

    if I place a ComboBox in a Cell and this ComboBox Has the Property IsEditable=true, Then I have the problem that my defined ContextMenu will only showed if click the RightMouseButtonDown on the toogle Button and the ContentPresenter. But not in the ComboBox itself. There is a ContextMenu with “paste, copy, cut”.
    If I set the ComboBox Property IsEditable=false, then I see my ContextMenu.
    Any Ideas or help?

    Thanks al lot.

    Imported from legacy forums. Posted by Marc (had 596 views)

    Xceed Support
    Member
    Post count: 5658

    You could try redoing the template of the ComboBox and explicitly set the ContextMenu property of the TextBox used to null.

    While I have not tried it myself, it sounds like it might work.

    Imported from legacy forums. Posted by Marcus [Xceed] (had 2741 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.