123456789101112131415161718192021222324252627282930313233 |
- <UserControl x:Class="CyberX8_Themes.UserControls.RecipeLoad"
- 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:converters="clr-namespace:CyberX8_Themes.Converters"
- xmlns:Control="clr-namespace:MECF.Framework.UI.Core.Control;assembly=MECF.Framework.UI.Core"
- xmlns:local="clr-namespace:CyberX8_Themes.UserControls"
- mc:Ignorable="d" x:Name="recipeLoad"
- d:DesignHeight="350" d:DesignWidth="450">
- <UserControl.Resources>
- <converters:RecipeIconConverter x:Key="recipeIconConverter"/>
- </UserControl.Resources>
- <GroupBox
- Header="{Binding ElementName=recipeLoad,Path=HeadName}"
- BorderBrush="DarkGray">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="10"></RowDefinition>
- <RowDefinition Height="50"></RowDefinition>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="300"></ColumnDefinition>
- <ColumnDefinition Width="120"></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <Button IsEnabled="{Binding ElementName=recipeLoad,Path=LoadEnabled}" Grid.Row="1" Grid.Column="1" Style="{StaticResource SysBtnStyle}" Content="Load" Height="35" Click="LoadRecipe_Click" Margin="0,8,-8,8"/>
- <local:RecipeLoadControl Grid.Row="1" Grid.RowSpan="2" RecipeType="{Binding ElementName=recipeLoad,Path=RecipeType}" SelectedRecipeNode="{Binding ElementName=recipeLoad,Path=SelectedRecipeNode,Mode=TwoWay}"></local:RecipeLoadControl>
- </Grid>
- </GroupBox>
- </UserControl>
|