The reason for resizing cells by the way you experienced it is to the values ColumnDefinition and HorizontalAlignment GridSplitter . Since you did not specify a height, the default column width is Star. This means that they have an equal distance. Then the GridSplitter HorizontalAlignment indicates in which direction it is changing. If you center or stretch it, then you will get the size of both sides, but if you align it to one edge or the other, it will only resize that edge, but since the cells distribute the space the same way, both sides are reduced, not just one.
Although the accepted answer provides an alternative approach to make this work, it does not actually explain why the problem arises. This is perfectly acceptable for placing a splitter in its own cells - in fact, this is often recommended.
Jeff yates
source share