<flyctrllib:WindowBigClose x:Class="FLY.Thick.Blowing.UI.Fix.Client.Window_ProfileLegend"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:flyctrllib="clr-namespace:FLY.ControlLibrary;assembly=FLY.ControlLibrary"
        xmlns:common="clr-namespace:FLY.Thick.Blowing.Common;assembly=FLY.Thick.Blowing"
        mc:Ignorable="d"
        Title="Window_ProfileLegend" SizeToContent="WidthAndHeight" >
    <Window.Resources>
        <ResourceDictionary>
                <ResourceDictionary.MergedDictionaries>
                    <ResourceDictionary Source="pack://application:,,,/FLY.ControlLibrary;component/Themes/Dictionary_MyStyle.xaml"/>
                    <ResourceDictionary Source="pack://application:,,,/ThickTcpUiInWindow;component/Converter/Dictionary_MyConv.xaml"/>
                </ResourceDictionary.MergedDictionaries>
            <common:BlowingFixProfileParam x:Key="param" MMode="Bag"/>
        </ResourceDictionary>
    </Window.Resources>
    <Grid Width="500" d:DataContext="{StaticResource param}">
        <Image Margin="10" Stretch="Uniform" >
            <Image.Style>
                <Style TargetType="Image">
                    <Setter Property="Source" Value="image/normal.jpg"/>
                    <Style.Triggers>
                        <DataTrigger Binding="{Binding MMode}" Value="Bag">
                            <Setter Property="Source" Value="image/bag.jpg"/>
                        </DataTrigger>
                    </Style.Triggers>
                </Style>
            </Image.Style>
        </Image>
    </Grid>
</flyctrllib:WindowBigClose>