To prevent hidden GridSplitter controls, do one of the following :
Make sure that the GridSplitter controls are the last Children added to the Grid. The following example shows the GridSplitter as the last element in the Children collection of the Grid.
[XAML]