-
-
Notifications
You must be signed in to change notification settings - Fork 410
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
Can't resize GridView and DataGrid columns #62
Comments
Resolves with || HitTest4Type<GridViewColumnHeader>(sender, e) check at PreviewMouseDown DataGridColumnHeader can be tested only for .NET4 version |
This does not work in a GridView when you drag the column header to reorder its position in the grid. It still drags the first data row. The GridViewColumnHeader changes Visibility and the test in HitTest4Type fails. I have worked around this by changing HitTest4Type to include a testVisibility parameter.
|
The following also fixes the above issue I spoke about, though it does put a specific test into a generic function. return element != null && ((element is GridViewColumnHeader && (element as GridViewColumnHeader).Role == GridViewColumnHeaderRole.Floating) || element.Visibility == Visibility.Visible); |
will be fixed with 0.1.3.9 |
Hello, Please advise. Thanks much! :) |
First item of list become dragged when column separator is dragged by mouse in grid header. Width of column isn't changing.
The text was updated successfully, but these errors were encountered: