Commit d185380
Anjali Sheel
WPF DataGrid/GridView column width can be changed using the keyboard shortcut ALT+left or right arrow key (#6054)
* Update DataGridCell.cs
* Update DataGridColumn.cs
* Update DataGridCell.cs
11383796 - Renamed variable name as per PascalCasing.
* Made UpdateColumnHeaderWidth function to internal
Made UpdateColumnHeaderWidth function from private to internal. Earlier scope of this function was limited to this file, now for the grid view changes, we want access for this function in the ListBox.cs
* Added column resize support for GridView using keyboard
* Incorporated review changes
* Incorporated review changes1 parent ee5e134 commit d185380
File tree
4 files changed
+61
-2
lines changed- src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Controls
4 files changed
+61
-2
lines changedLines changed: 23 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
964 | 964 | | |
965 | 965 | | |
966 | 966 | | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
| 975 | + | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
967 | 989 | | |
968 | 990 | | |
969 | 991 | | |
| |||
1100 | 1122 | | |
1101 | 1123 | | |
1102 | 1124 | | |
| 1125 | + | |
1103 | 1126 | | |
1104 | 1127 | | |
1105 | 1128 | | |
| |||
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1491 | 1491 | | |
1492 | 1492 | | |
1493 | 1493 | | |
| 1494 | + | |
| 1495 | + | |
| 1496 | + | |
| 1497 | + | |
| 1498 | + | |
| 1499 | + | |
| 1500 | + | |
1494 | 1501 | | |
| 1502 | + | |
| 1503 | + | |
| 1504 | + | |
1495 | 1505 | | |
1496 | 1506 | | |
1497 | 1507 | | |
| |||
src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Controls/GridViewColumnHeader.cs
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
789 | 789 | | |
790 | 790 | | |
791 | 791 | | |
792 | | - | |
| 792 | + | |
793 | 793 | | |
794 | 794 | | |
795 | 795 | | |
| |||
979 | 979 | | |
980 | 980 | | |
981 | 981 | | |
982 | | - | |
| 982 | + | |
983 | 983 | | |
984 | 984 | | |
985 | 985 | | |
| |||
Lines changed: 26 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
350 | 350 | | |
351 | 351 | | |
352 | 352 | | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
353 | 377 | | |
354 | 378 | | |
355 | 379 | | |
| |||
1011 | 1035 | | |
1012 | 1036 | | |
1013 | 1037 | | |
| 1038 | + | |
| 1039 | + | |
1014 | 1040 | | |
1015 | 1041 | | |
1016 | 1042 | | |
| |||
0 commit comments