Expander combined with GridSplitter
I’m trying to split my WPF window into two “areas”, top and bottom. The top area contains a grid. The bottom area contains an expander. Between the two areas should be a GridSplitter which the user can use to resize the areas. The content of each area should use the full high of the area. By default, the expander is expanded. When the user closes the expander, the bottom area should reduce its height to the height of the collapsed expander. This is my code: <Window x:Class="App.Shell" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx