MaterialDesignInXamlToolkit
MaterialDesignInXamlToolkit copied to clipboard
MaterialDesignDataGridTextColumnPopupEditingStyle: Mouse and focus issues
When you double click on a cell which has EditingElementStyle="{StaticResource MaterialDesignDataGridTextColumnPopupEditingStyle}" defined, the popup appears but there are a few issues:
- You can't move the cursor using the mouse and can't select text with the mouse (although right clicking brings up the context menu correctly).
- If the cell editing popup is open and you change focus to another app, the popup remains on top of the other application.
- (Minor/opinion) The cursor's position is at the beginning of the TextBox when the popup editor opens (I think this would typically be at the end?)
To reproduce:
- Open the WPF demo
- Selecting the "Grids" page using the menu
- Double click on a cell in the Name or Description columns to start editing
- Try using the left mouse button to move the cursor or select text inside the popup
- Switch to another application while the cell editor is open
Here's a screenshot of the popup over another window.

Fixed parts 2 and 3. Part 1 seems like it's going to be painful...
文件不存在,只能读不能写
I can confirm that part 1 is still an issue. I think it's a bug in the ControlzEx library. I don't see an easy fix at this moment.