30 lines
1.2 KiB
XML
30 lines
1.2 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
||
<ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||
xmlns:controls="clr-namespace:CORP_MAUI.Controls"
|
||
x:Class="CORP_MAUI.Controls.DesktopLayout">
|
||
|
||
<!-- Основной layout для десктопа: Header + (Sidebar | Content | Calendar) -->
|
||
<Grid RowDefinitions="56,*" BackgroundColor="#F5F5F5">
|
||
|
||
<!-- Header -->
|
||
<controls:DesktopHeader Grid.Row="0" x:Name="Header"/>
|
||
|
||
<!-- Основной контент -->
|
||
<Grid Grid.Row="1" ColumnDefinitions="200,*,280">
|
||
|
||
<!-- Левый Sidebar -->
|
||
<controls:DesktopSidebar Grid.Column="0" x:Name="Sidebar"/>
|
||
|
||
<!-- Центральный контент (сюда встраивается страница) -->
|
||
<ContentView Grid.Column="1" x:Name="MainContent" Padding="20" BackgroundColor="#F5F5F5"/>
|
||
|
||
<!-- Правая панель с календарём -->
|
||
<controls:DesktopCalendarPanel Grid.Column="2" x:Name="CalendarPanel"/>
|
||
|
||
</Grid>
|
||
|
||
</Grid>
|
||
|
||
</ContentView>
|