<UserControl x:Class="NexusShell.Controls.NexusContentLayout"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             x:Name="Root">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition x:Name="SideNavColumn" Width="0"/>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition x:Name="RightPanelColumn" Width="0"/>
        </Grid.ColumnDefinitions>

        <Border x:Name="SideNavHost" Grid.Column="0" Style="{StaticResource NexusSideNavStyle}"
                Visibility="Collapsed">
            <ContentPresenter Content="{Binding SideNavContent, ElementName=Root}"/>
        </Border>

        <ContentPresenter Grid.Column="1" Content="{Binding MainContent, ElementName=Root}"/>

        <Border x:Name="RightPanelHost" Grid.Column="2" Style="{StaticResource NexusPreviewPanelStyle}"
                Margin="12,0,0,0" Visibility="Collapsed">
            <ContentPresenter Content="{Binding RightPanelContent, ElementName=Root}"/>
        </Border>
    </Grid>
</UserControl>
