1234567891011121314151617181920212223242526272829303132333435363738 |
- <UserControl x:Class="PRSDesktop.DashboardContainer"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:local="clr-namespace:PRSDesktop"
- mc:Ignorable="d"
- d:DesignHeight="450" d:DesignWidth="800">
- <Border BorderBrush="Gray" BorderThickness="1">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto"/>
- <RowDefinition Height="*"/>
- </Grid.RowDefinitions>
- <Border Grid.Row="0" BorderBrush="Gray" BorderThickness="0,0,0,1">
- <DockPanel Background="WhiteSmoke">
- <Button x:Name="Settings"
- DockPanel.Dock="Right"
- Width="25" Height="25"
- Margin="5"
- Click="Settings_Click">
- <Image Source="pack://application:,,,/Resources/edit.png"/>
- </Button>
- <Label x:Name="DashboardName"
- VerticalContentAlignment="Center"
- DockPanel.Dock="Left"/>
- <StackPanel x:Name="HeaderItems"
- DockPanel.Dock="Left"
- Margin="5"
- Orientation="Horizontal"/>
- </DockPanel>
- </Border>
- <ContentControl Grid.Row="1" x:Name="Content"/>
- </Grid>
- </Border>
- </UserControl>
|