|
- <UserControl x:Class="BeDesignerSCADA.Controls.MenuRunCanvas"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:con="clr-namespace:BeDesignerSCADA.Converters"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:controls="clr-namespace:BPASmartClient.SCADAControl.CustomerControls;assembly=BPASmartClient.SCADAControl"
- xmlns:local="clr-namespace:BeDesignerSCADA.Controls"
- mc:Ignorable="d"
- d:DesignHeight="450" d:DesignWidth="800">
- <UserControl.Resources>
- <ResourceDictionary>
- <ResourceDictionary.MergedDictionaries>
- <ResourceDictionary Source="/BPASmartClient.SCADAControl;component/Themes/Generic.xaml" />
- </ResourceDictionary.MergedDictionaries>
- </ResourceDictionary>
- </UserControl.Resources>
- <Grid>
- <Border x:Name="main" >
-
- </Border>
-
- <StackPanel x:Name="waibustack" Cursor="Hand" Orientation="Horizontal" MouseMove="wrapanl_main_MouseMove" MouseLeave="wrapanl_main_MouseLeave" >
- <Grid Style="{DynamicResource image矩阵框1}" Margin="0,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Stretch" x:Name="wrapanl_main" >
- <TextBlock x:Name="TitleName" FontWeight="Bold" Style="{DynamicResource imageTextBlock}" Padding="10" FontSize="18" TextWrapping="Wrap" MaxWidth="118" HorizontalAlignment="Center" VerticalAlignment="Top" Text="{Binding MenuModel.Name}" FontFamily="{DynamicResource Digital}">
- <TextBlock.Foreground>
- <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
- <GradientStop Color="#FF08A1E0"/>
- <GradientStop Color="#FF08A1E0" Offset="0.25"/>
- <GradientStop Color="#FF08A1E0" Offset="0.5"/>
- <GradientStop Color="#FF7FCEEF" Offset="0.75"/>
- <GradientStop Color="#FF08A1E0" Offset="1"/>
- </LinearGradientBrush>
- </TextBlock.Foreground>
- </TextBlock>
- <Border x:Name="border0" Margin="0,60,0,0" Style="{DynamicResource borderSplider}"></Border>
- <ListBox x:Name="PageList" Margin="0,60,0,100" Padding="10,0,0,0" BorderThickness="0" HorizontalAlignment="Left" VerticalAlignment="Top"
- SelectedItem="{Binding MenuModel.SelectPageModels,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
- ItemsSource="{Binding MenuModel.pageModels,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
- Background="Transparent"
- ItemContainerStyle="{StaticResource ItemContainerStyle1}"
- ScrollViewer.VerticalScrollBarVisibility="Auto"
- ScrollViewer.HorizontalScrollBarVisibility="Auto"
- ItemTemplate="{DynamicResource X_PageBoxStyle}" >
- </ListBox>
-
- <Border x:Name="border1" Margin="0,0,0,80" VerticalAlignment="Bottom" Style="{DynamicResource borderSplider}"/>
- <StackPanel x:Name="closeGrid" Height="80" Background="Transparent" Margin="0,0,0,0" Width="100" VerticalAlignment="Bottom" HorizontalAlignment="Center">
- <controls:DateTimeUI Foreground="#a2c2e8" HorizontalAlignment="Center" Margin="5,5,5,5"></controls:DateTimeUI>
- <Border x:Name="border2" Style="{DynamicResource borderSplider}"></Border>
- <Button
- x:Name="ButClose"
- Margin="0,5,0,0"
- HorizontalAlignment="Center"
- VerticalAlignment="Top"
- Content="退出程序"
- Cursor="Hand"
- Width="90"
- Style="{DynamicResource CommonBtn_返回}"
- ToolTip="退出程序" />
- </StackPanel>
- </Grid>
- <Border x:Name="lachu" Background="Transparent" Width="30" HorizontalAlignment="Stretch" VerticalAlignment="Top" Margin="0,0,0,25" BorderThickness="1,0,0,0">
- <Border.BorderBrush>
- <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
- <GradientStop Color="Transparent"/>
- <GradientStop Color="#FF21B7B7" Offset="0.25"/>
- <GradientStop Color="Aqua" Offset="0.5"/>
- <GradientStop Color="#FF21B7B7" Offset="0.75"/>
- <GradientStop Color="Transparent" Offset="1"/>
- </LinearGradientBrush>
- </Border.BorderBrush>
- <Image x:Name="lachuStyle" Style="{DynamicResource image右1}" Cursor="Hand" Width="70" Height="30"></Image>
- </Border>
- </StackPanel>
- </Grid>
- </UserControl>
|