huhu

        <Style x:Key="Cell" TargetType="{x:Type Button}">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type Button}">
<Grid>
<!-- The cell, -->
<Rectangle Width="" Height="" Style="{DynamicResource CellStyle}" />
<!-- and its content. -->
<Rectangle Style="{DynamicResource CellContentStyle}"/>
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
    <Style x:Key="CellStyle" TargetType="{x:Type Rectangle}">
<Style.Triggers>
<MultiDataTrigger>
<MultiDataTrigger.Conditions>
<!-- If the cell is a wall. -->
<Condition Binding="{Binding Path=Name}" Value="Wall" />
</MultiDataTrigger.Conditions>
<Setter Property="Fill" Value="{StaticResource WallCellBrush}"/>
</MultiDataTrigger>
<MultiDataTrigger>
<MultiDataTrigger.Conditions>
<!-- If the cell is a floor cell. -->
<Condition Binding="{Binding Path=Name}" Value="Floor" />
</MultiDataTrigger.Conditions>
<Setter Property="Fill" Value="{StaticResource FloorCellBrush}"/>
</MultiDataTrigger>
<MultiDataTrigger>
<MultiDataTrigger.Conditions>
<!-- If the cell is an outer empty space cell. -->
<Condition Binding="{Binding Path=Name}" Value="Space" />
</MultiDataTrigger.Conditions>
<Setter Property="Fill" Value="Transparent"/>
</MultiDataTrigger>
<MultiDataTrigger>
<MultiDataTrigger.Conditions>
<!-- If the cell is a goal. -->
<Condition Binding="{Binding Path=Name}" Value="Goal" />
</MultiDataTrigger.Conditions>
<Setter Property="Fill" Value="{StaticResource GoalCellContentBrush}"/>
</MultiDataTrigger>
<MultiDataTrigger>
<MultiDataTrigger.Conditions>
<!-- If the cell is a goal with a treasure in it. -->
<Condition Binding="{Binding Path=Name}" Value="Goal" />
<Condition Binding="{Binding Path=CellContent.Name}" Value="Treasure" />
</MultiDataTrigger.Conditions>
<Setter Property="Fill" Value="{StaticResource GoalActiveCellContentBrush}"/>
</MultiDataTrigger>
</Style.Triggers>
</Style>
        <Style x:Key="CellContentStyle" TargetType="{x:Type Rectangle}">
<Style.Triggers>
<MultiDataTrigger>
<MultiDataTrigger.Conditions>
<!-- If the cell contains the Actor. -->
<Condition Binding="{Binding Path=CellContents.Name}" Value="Actor" />
</MultiDataTrigger.Conditions>
<Setter Property="Fill" Value="{StaticResource PlayerCellContentBrush}"/>
</MultiDataTrigger>
<MultiDataTrigger>
<MultiDataTrigger.Conditions>
<!-- If the cell contains a treasure. -->
<Condition Binding="{Binding Path=CellContents.Name}" Value="Treasure" />
</MultiDataTrigger.Conditions>
<Setter Property="Width" Value=""/>
<Setter Property="Height" Value=""/>
<Setter Property="Fill" Value="{StaticResource TreasureCellContentBrush}"/>
</MultiDataTrigger>
</Style.Triggers>
</Style>
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <DrawingBrush x:Key="WallCellBrush">
<DrawingBrush.Drawing>
<DrawingGroup>
<DrawingGroup.Children>
<GeometryDrawing Geometry="F1 M 113,0L 687,0C 749.408,0 800,50.5918 800,113L 800,687C 800,749.408 749.408,800 687,800L 113,800C 50.5918,800 0,749.408 0,687L 0,113C 0,50.5918 50.5918,0 113,0 Z ">
<GeometryDrawing.Brush>
<LinearGradientBrush StartPoint="0.5,0.5" EndPoint="1.00625,0.5">
<LinearGradientBrush.GradientStops>
<GradientStop Color="#FF545453" Offset=""/>
<GradientStop Color="#FF5F5F5D" Offset="0.830508"/>
</LinearGradientBrush.GradientStops>
</LinearGradientBrush>
</GeometryDrawing.Brush>
</GeometryDrawing>
<GeometryDrawing Geometry="F1 M 756,137L 756,668.333C 756,716.382 717.049,755.333 669,755.333L 132.333,755.333C 84.2845,755.333 45.3333,716.382 45.3333,668.333L 45.3333,137C 45.3333,88.9512 84.2845,50 132.333,50L 669,50C 717.049,50 756,88.9512 756,137 Z ">
<GeometryDrawing.Brush>
<LinearGradientBrush StartPoint="0.5,0.5" EndPoint="1.00419,0.5">
<LinearGradientBrush.GradientStops>
<GradientStop Color="#59C3C3C3" Offset="0.152542"/>
<GradientStop Color="#12B8B8B8" Offset=""/>
</LinearGradientBrush.GradientStops>
</LinearGradientBrush>
</GeometryDrawing.Brush>
</GeometryDrawing>
</DrawingGroup.Children>
</DrawingGroup>
</DrawingBrush.Drawing>
</DrawingBrush>
<DrawingBrush x:Key="FloorCellBrush">
<DrawingBrush.Drawing>
<DrawingGroup>
<DrawingGroup.Children>
<GeometryDrawing Geometry="F1 M 0,0L 800,0L 800,800L 0,800L 0,0 Z ">
<GeometryDrawing.Pen>
<Pen Thickness="" LineJoin="Round" Brush="#FFCEDDDF"/>
</GeometryDrawing.Pen>
<GeometryDrawing.Brush>
<RadialGradientBrush RadiusX="" RadiusY="" Center="0,0.5" GradientOrigin="0,0.5">
<RadialGradientBrush.GradientStops>
<GradientStop Color="#FFD7D9DD" Offset=""/>
<GradientStop Color="#FFD4E7EB" Offset="0.555085"/>
<GradientStop Color="#FFC6DEE7" Offset=""/>
</RadialGradientBrush.GradientStops>
<RadialGradientBrush.RelativeTransform>
<TransformGroup/>
</RadialGradientBrush.RelativeTransform>
</RadialGradientBrush>
</GeometryDrawing.Brush>
</GeometryDrawing>
<GeometryDrawing Geometry="F1 M 46.4443,28.2225L 754.889,28.2225C 765.935,28.2225 774.889,37.1767 774.889,48.2225L 774.889,750.445C 774.889,761.49 765.935,770.445 754.889,770.445L 46.4443,770.445C 35.3986,770.445 26.4443,761.49 26.4443,750.445L 26.4443,48.2225C 26.4443,37.1767 35.3986,28.2225 46.4443,28.2225 Z ">
<GeometryDrawing.Brush>
<LinearGradientBrush StartPoint="0.5,0.5" EndPoint="1,0.5">
<LinearGradientBrush.GradientStops>
<GradientStop Color="#33FFFFFF" Offset="0.512712"/>
<GradientStop Color="#7FFFFFFF" Offset=""/>
</LinearGradientBrush.GradientStops>
</LinearGradientBrush>
</GeometryDrawing.Brush>
</GeometryDrawing>
</DrawingGroup.Children>
</DrawingGroup>
</DrawingBrush.Drawing>
</DrawingBrush>
<DrawingBrush x:Key="GoalActiveCellContentBrush">
<DrawingBrush.Drawing>
<DrawingGroup>
<DrawingGroup.Children>
<GeometryDrawing Geometry="F1 M 0,0L 800,0L 800,800L 0,800L 0,0 Z ">
<GeometryDrawing.Pen>
<Pen Thickness="" LineJoin="Round" Brush="#FFCEDDDF"/>
</GeometryDrawing.Pen>
<GeometryDrawing.Brush>
<RadialGradientBrush RadiusX="" RadiusY="" Center="0,0.5" GradientOrigin="0,0.5">
<RadialGradientBrush.GradientStops>
<GradientStop Color="#FFD7D9DD" Offset=""/>
<GradientStop Color="#FFD4E7EB" Offset="0.555085"/>
<GradientStop Color="#FFC6DEE7" Offset=""/>
</RadialGradientBrush.GradientStops>
<RadialGradientBrush.RelativeTransform>
<TransformGroup/>
</RadialGradientBrush.RelativeTransform>
</RadialGradientBrush>
</GeometryDrawing.Brush>
</GeometryDrawing>
<GeometryDrawing Geometry="F1 M 48.0556,29.5494L 756.5,29.5494C 767.546,29.5494 776.5,38.5037 776.5,49.5494L 776.5,751.772C 776.5,762.817 767.546,771.772 756.5,771.772L 48.0556,771.772C 37.0099,771.772 28.0556,762.817 28.0556,751.772L 28.0556,49.5494C 28.0556,38.5037 37.0099,29.5494 48.0556,29.5494 Z ">
<GeometryDrawing.Brush>
<LinearGradientBrush StartPoint="-0.00625,0.5" EndPoint="1.00625,0.5">
<LinearGradientBrush.GradientStops>
<GradientStop Color="#33FFFFFF" Offset="0.512712"/>
<GradientStop Color="#7FFFFFFF" Offset=""/>
</LinearGradientBrush.GradientStops>
</LinearGradientBrush>
</GeometryDrawing.Brush>
</GeometryDrawing>
<GeometryDrawing Geometry="F1 M 5.5555,400.222C 5.5555,182.499 182.055,6 399.778,6C 617.501,6 794,182.499 794,400.222C 794,617.945 617.501,794.444 399.778,794.444C 182.055,794.444 5.5555,617.945 5.5555,400.222 Z ">
<GeometryDrawing.Pen>
<Pen Thickness="" LineJoin="Round" Brush="#FFABAEAE"/>
</GeometryDrawing.Pen>
<GeometryDrawing.Brush>
<LinearGradientBrush StartPoint="0.5,0.5" EndPoint="0.5,0">
<LinearGradientBrush.GradientStops>
<GradientStop Color="#FF919292" Offset=""/>
<GradientStop Color="#FF9E9FA0" Offset="0.169492"/>
<GradientStop Color="#FFCDCDCD" Offset="0.817797"/>
<GradientStop Color="#FFD4D5D5" Offset=""/>
</LinearGradientBrush.GradientStops>
</LinearGradientBrush>
</GeometryDrawing.Brush>
</GeometryDrawing>
<GeometryDrawing Geometry="F1 M 151.555,395.111C 151.555,251.517 267.961,135.111 411.556,135.111C 555.15,135.111 671.555,251.517 671.555,395.111C 671.555,538.705 555.15,655.111 411.556,655.111C 267.961,655.111 151.555,538.705 151.555,395.111 Z ">
<GeometryDrawing.Pen>
<Pen Thickness="" LineJoin="Round">
<Pen.Brush>
<LinearGradientBrush StartPoint="0.5,1" EndPoint="0.5,0">
<LinearGradientBrush.GradientStops>
<GradientStop Color="#FF9C9A9C" Offset=""/>
<GradientStop Color="#FF9E9FA0" Offset="0.525424"/>
<GradientStop Color="#FF727373" Offset=""/>
</LinearGradientBrush.GradientStops>
</LinearGradientBrush>
</Pen.Brush>
</Pen>
</GeometryDrawing.Pen>
<GeometryDrawing.Brush>
<RadialGradientBrush RadiusX="" RadiusY="" Center="0.5,1" GradientOrigin="0.5,1">
<RadialGradientBrush.GradientStops>
<GradientStop Color="#FFA0EBE5" Offset=""/>
<GradientStop Color="#FF0081AE" Offset="0.830508"/>
<GradientStop Color="#FF025273" Offset=""/>
</RadialGradientBrush.GradientStops>
<RadialGradientBrush.RelativeTransform>
<TransformGroup>
<RotateTransform CenterX="0.5" CenterY="" Angle="-90"/>
</TransformGroup>
</RadialGradientBrush.RelativeTransform>
</RadialGradientBrush>
</GeometryDrawing.Brush>
</GeometryDrawing>
<GeometryDrawing Geometry="F1 M 225.228,300C 225.228,220.471 307.804,156 409.667,156C 511.529,156 594.105,220.471 594.105,300C 594.105,379.529 511.529,444 409.667,444C 307.804,444 225.228,379.529 225.228,300 Z ">
<GeometryDrawing.Brush>
<RadialGradientBrush RadiusX="" RadiusY="0.780748" Center="0.5,1" GradientOrigin="0.5,1">
<RadialGradientBrush.GradientStops>
<GradientStop Color="#1AFFFFFF" Offset="0.563559"/>
<GradientStop Color="#4DFFFFFF" Offset=""/>
</RadialGradientBrush.GradientStops>
<RadialGradientBrush.RelativeTransform>
<TransformGroup>
<RotateTransform CenterX="0.5" CenterY="" Angle="-90"/>
</TransformGroup>
</RadialGradientBrush.RelativeTransform>
</RadialGradientBrush>
</GeometryDrawing.Brush>
</GeometryDrawing>
</DrawingGroup.Children>
</DrawingGroup>
</DrawingBrush.Drawing>
</DrawingBrush>
<DrawingBrush x:Key="GoalCellContentBrush">
<DrawingBrush.Drawing>
<DrawingGroup>
<DrawingGroup.Children>
<GeometryDrawing Geometry="F1 M 0,0L 800,0L 800,800L 0,800L 0,0 Z ">
<GeometryDrawing.Pen>
<Pen Thickness="" LineJoin="Round" Brush="#FFCEDDDF"/>
</GeometryDrawing.Pen>
<GeometryDrawing.Brush>
<RadialGradientBrush RadiusX="" RadiusY="" Center="0,0.5" GradientOrigin="0,0.5">
<RadialGradientBrush.GradientStops>
<GradientStop Color="#FFD7D9DD" Offset=""/>
<GradientStop Color="#FFD4E7EB" Offset="0.555085"/>
<GradientStop Color="#FFC6DEE7" Offset=""/>
</RadialGradientBrush.GradientStops>
<RadialGradientBrush.RelativeTransform>
<TransformGroup/>
</RadialGradientBrush.RelativeTransform>
</RadialGradientBrush>
</GeometryDrawing.Brush>
</GeometryDrawing>
<GeometryDrawing Geometry="F1 M 48.0556,29.5494L 756.5,29.5494C 767.546,29.5494 776.5,38.5037 776.5,49.5494L 776.5,751.772C 776.5,762.817 767.546,771.772 756.5,771.772L 48.0556,771.772C 37.0099,771.772 28.0556,762.817 28.0556,751.772L 28.0556,49.5494C 28.0556,38.5037 37.0099,29.5494 48.0556,29.5494 Z ">
<GeometryDrawing.Brush>
<LinearGradientBrush StartPoint="-0.00625,0.5" EndPoint="1.00625,0.5">
<LinearGradientBrush.GradientStops>
<GradientStop Color="#33FFFFFF" Offset="0.512712"/>
<GradientStop Color="#7FFFFFFF" Offset=""/>
</LinearGradientBrush.GradientStops>
</LinearGradientBrush>
</GeometryDrawing.Brush>
</GeometryDrawing>
<GeometryDrawing Geometry="F1 M 5.5555,400.222C 5.5555,182.499 182.055,6 399.778,6C 617.501,6 794,182.499 794,400.222C 794,617.945 617.501,794.444 399.778,794.444C 182.055,794.444 5.5555,617.945 5.5555,400.222 Z ">
<GeometryDrawing.Pen>
<Pen Thickness="" LineJoin="Round" Brush="#FFABAEAE"/>
</GeometryDrawing.Pen>
<GeometryDrawing.Brush>
<LinearGradientBrush StartPoint="0.5,0.5" EndPoint="0.5,0">
<LinearGradientBrush.GradientStops>
<GradientStop Color="#FF919292" Offset=""/>
<GradientStop Color="#FF9E9FA0" Offset="0.169492"/>
<GradientStop Color="#FFCDCDCD" Offset="0.817797"/>
<GradientStop Color="#FFD4D5D5" Offset=""/>
</LinearGradientBrush.GradientStops>
</LinearGradientBrush>
</GeometryDrawing.Brush>
</GeometryDrawing>
<GeometryDrawing Geometry="F1 M 151.555,395.111C 151.555,251.517 267.961,135.111 411.556,135.111C 555.15,135.111 671.555,251.517 671.555,395.111C 671.555,538.705 555.15,655.111 411.556,655.111C 267.961,655.111 151.555,538.705 151.555,395.111 Z ">
<GeometryDrawing.Pen>
<Pen Thickness="" LineJoin="Round">
<Pen.Brush>
<LinearGradientBrush StartPoint="0.5,1" EndPoint="0.5,0">
<LinearGradientBrush.GradientStops>
<GradientStop Color="#FF9C9A9C" Offset=""/>
<GradientStop Color="#FF9E9FA0" Offset="0.525424"/>
<GradientStop Color="#FF727373" Offset=""/>
</LinearGradientBrush.GradientStops>
</LinearGradientBrush>
</Pen.Brush>
</Pen>
</GeometryDrawing.Pen>
<GeometryDrawing.Brush>
<RadialGradientBrush RadiusX="" RadiusY="" Center="0.5,1" GradientOrigin="0.5,1">
<RadialGradientBrush.GradientStops>
<GradientStop Color="#FFEBEAA0" Offset=""/>
<GradientStop Color="#FFD9D501" Offset="0.809322"/>
<GradientStop Color="#FF7B6E01" Offset=""/>
</RadialGradientBrush.GradientStops>
<RadialGradientBrush.RelativeTransform>
<TransformGroup>
<RotateTransform CenterX="0.5" CenterY="" Angle="-90"/>
</TransformGroup>
</RadialGradientBrush.RelativeTransform>
</RadialGradientBrush>
</GeometryDrawing.Brush>
</GeometryDrawing>
<GeometryDrawing Geometry="F1 M 225.228,300C 225.228,220.471 307.804,156 409.667,156C 511.529,156 594.105,220.471 594.105,300C 594.105,379.529 511.529,444 409.667,444C 307.804,444 225.228,379.529 225.228,300 Z ">
<GeometryDrawing.Brush>
<RadialGradientBrush RadiusX="" RadiusY="0.780748" Center="0.5,1" GradientOrigin="0.5,1">
<RadialGradientBrush.GradientStops>
<GradientStop Color="#26FFFFFF" Offset="0.563559"/>
<GradientStop Color="#59FFFFFF" Offset=""/>
</RadialGradientBrush.GradientStops>
<RadialGradientBrush.RelativeTransform>
<TransformGroup>
<RotateTransform CenterX="0.5" CenterY="" Angle="-90"/>
</TransformGroup>
</RadialGradientBrush.RelativeTransform>
</RadialGradientBrush>
</GeometryDrawing.Brush>
</GeometryDrawing>
</DrawingGroup.Children>
</DrawingGroup>
</DrawingBrush.Drawing>
</DrawingBrush>
<DrawingBrush x:Key="FloorCellHighlightBrush">
<DrawingBrush.Drawing>
<DrawingGroup>
<DrawingGroup.Children>
<GeometryDrawing Brush="#80F8F5A9" Geometry="F1 M 0,0L 800,0L 800,800L 0,800L 0,0 Z ">
<GeometryDrawing.Pen>
<Pen Thickness="" LineJoin="Round" Brush="#80CEDDDF"/>
</GeometryDrawing.Pen>
</GeometryDrawing>
<GeometryDrawing Geometry="F1 M 46.4443,28.2225L 754.889,28.2225C 765.935,28.2225 774.889,37.1767 774.889,48.2225L 774.889,750.445C 774.889,761.49 765.935,770.445 754.889,770.445L 46.4443,770.445C 35.3986,770.445 26.4443,761.49 26.4443,750.445L 26.4443,48.2225C 26.4443,37.1767 35.3986,28.2225 46.4443,28.2225 Z ">
<GeometryDrawing.Brush>
<RadialGradientBrush RadiusX="" RadiusY="1.00838" Center="0,0.5" GradientOrigin="0,0.5">
<RadialGradientBrush.GradientStops>
<GradientStop Color="#33FFFFFF" Offset="0.512712"/>
<GradientStop Color="#7FFFFFFF" Offset=""/>
</RadialGradientBrush.GradientStops>
<RadialGradientBrush.RelativeTransform>
<TransformGroup/>
</RadialGradientBrush.RelativeTransform>
</RadialGradientBrush>
</GeometryDrawing.Brush>
</GeometryDrawing>
</DrawingGroup.Children>
</DrawingGroup>
</DrawingBrush.Drawing>
</DrawingBrush>
<DrawingBrush x:Key="PlayerCellContentBrush">
<DrawingBrush.Drawing>
<DrawingGroup>
<DrawingGroup.Children>
<GeometryDrawing Geometry="F1 M 413.44,16.5468C 549.912,14.8068 662.044,130.982 663.894,276.032C 665.743,421.082 556.609,540.079 420.136,541.819C 283.664,543.559 171.532,427.383 169.682,282.333C 167.833,137.284 276.967,18.2868 413.44,16.5468 Z ">
<GeometryDrawing.Brush>
<RadialGradientBrush RadiusX="0.499989" RadiusY="0.500008" Center="0.499442,0.458844" GradientOrigin="0.499442,0.458844">
<RadialGradientBrush.GradientStops>
<GradientStop Color="#FF00FF00" Offset="0.00847458"/>
<GradientStop Color="#FF14D800" Offset="0.728814"/>
<GradientStop Color="#FF0D8301" Offset=""/>
</RadialGradientBrush.GradientStops>
<RadialGradientBrush.RelativeTransform>
<TransformGroup>
<SkewTransform CenterX="0.499442" CenterY="0.458844" AngleX="0.0890632" AngleY=""/>
<RotateTransform CenterX="0.499442" CenterY="0.458844" Angle="-0.687271"/>
</TransformGroup>
</RadialGradientBrush.RelativeTransform>
</RadialGradientBrush>
</GeometryDrawing.Brush>
</GeometryDrawing>
<GeometryDrawing Geometry="F1 M 420.583,65.3327C 485.952,65.3327 538.945,120.444 538.945,188.428C 538.945,256.412 485.952,311.524 420.583,311.524C 355.214,311.524 302.222,256.412 302.222,188.428C 302.222,120.444 355.214,65.3327 420.583,65.3327 Z ">
<GeometryDrawing.Pen>
<Pen Thickness="" LineJoin="Round">
<Pen.Brush>
<RadialGradientBrush RadiusX="0.509243" RadiusY="0.490047" Center="0.5,0.5" GradientOrigin="0.5,0.5">
<RadialGradientBrush.GradientStops>
<GradientStop Color="#FFFFFFFF" Offset=""/>
<GradientStop Color="#FF817F7F" Offset=""/>
</RadialGradientBrush.GradientStops>
<RadialGradientBrush.RelativeTransform>
<TransformGroup/>
</RadialGradientBrush.RelativeTransform>
</RadialGradientBrush>
</Pen.Brush>
</Pen>
</GeometryDrawing.Pen>
<GeometryDrawing.Brush>
<RadialGradientBrush RadiusX="0.509243" RadiusY="0.490047" Center="0.5,0.5" GradientOrigin="0.5,0.5">
<RadialGradientBrush.GradientStops>
<GradientStop Color="#FF000000" Offset=""/>
<GradientStop Color="#FF000000" Offset="0.177966"/>
<GradientStop Color="#FFFFFFFF" Offset="0.199153"/>
<GradientStop Color="#FEFFFFFF" Offset="0.25"/>
<GradientStop Color="#FEFF0000" Offset="0.275424"/>
<GradientStop Color="#FFFF0000" Offset="0.34322"/>
<GradientStop Color="#FFFFFFFF" Offset="0.36017"/>
<GradientStop Color="#FFFFFFFF" Offset="0.677966"/>
<GradientStop Color="#FF838383" Offset=""/>
</RadialGradientBrush.GradientStops>
<RadialGradientBrush.RelativeTransform>
<TransformGroup/>
</RadialGradientBrush.RelativeTransform>
</RadialGradientBrush>
</GeometryDrawing.Brush>
</GeometryDrawing>
<GeometryDrawing Brush="#FF000000" Geometry="F1 M 289.611,351.327C 354.944,355.327 374.944,377.994 428.278,375.327C 481.611,372.66 529.611,337.994 529.611,337.994C 529.611,337.994 477.611,424.66 433.611,429.994C 389.611,435.327 337.611,377.549 289.611,351.327 Z ">
<GeometryDrawing.Pen>
<Pen Thickness="" LineJoin="Round" Brush="#FF000000"/>
</GeometryDrawing.Pen>
</GeometryDrawing>
<GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 333.981,407.327L 349.611,363.327L 318.351,363.327L 333.981,407.327 Z "/>
<GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 368.944,411.994L 384.574,367.994L 353.315,367.994L 368.944,411.994 Z "/>
<GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 403.611,417.327L 419.241,373.327L 387.981,373.327L 403.611,417.327 Z "/>
<GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 443.611,417.327L 459.241,373.327L 427.981,373.327L 443.611,417.327 Z "/>
<GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 480.944,410.66L 496.574,366.66L 465.315,366.66L 480.944,410.66 Z "/>
<GeometryDrawing Geometry="F1 M 249.611,453.994C 249.611,453.994 125.611,540.661 238.945,608.66C 352.278,676.66 151.398,676.941 150.945,673.994C 148.278,656.66 148.278,689.994 148.278,689.994L 232.278,689.994L 168.278,723.327L 182.945,737.994L 241.611,695.327L 216.709,753.056L 230.945,755.327L 250.945,685.994L 304.278,631.327C 304.278,631.327 222.945,556.66 222.945,555.327C 222.945,553.994 286.944,488.66 286.944,488.66L 249.611,453.994 Z ">
<GeometryDrawing.Pen>
<Pen Thickness="" LineJoin="Round">
<Pen.Brush>
<RadialGradientBrush RadiusX="0.849206" RadiusY="0.455319" Center="0.575397,0.540426" GradientOrigin="0.575397,0.540426">
<RadialGradientBrush.GradientStops>
<GradientStop Color="#FF17FF00" Offset=""/>
<GradientStop Color="#FF119E03" Offset=""/>
</RadialGradientBrush.GradientStops>
<RadialGradientBrush.RelativeTransform>
<TransformGroup/>
</RadialGradientBrush.RelativeTransform>
</RadialGradientBrush>
</Pen.Brush>
</Pen>
</GeometryDrawing.Pen>
<GeometryDrawing.Brush>
<RadialGradientBrush RadiusX="0.849206" RadiusY="0.455319" Center="0.575397,0.540426" GradientOrigin="0.575397,0.540426">
<RadialGradientBrush.GradientStops>
<GradientStop Color="#FF2FFF00" Offset="0.00847458"/>
<GradientStop Color="#FF119E03" Offset=""/>
</RadialGradientBrush.GradientStops>
<RadialGradientBrush.RelativeTransform>
<TransformGroup/>
</RadialGradientBrush.RelativeTransform>
</RadialGradientBrush>
</GeometryDrawing.Brush>
</GeometryDrawing>
<GeometryDrawing Brush="#FF000000" Geometry="F1 M 101.611,681.994L 145.611,692.66L 145.611,669.994L 101.611,681.994 Z "/>
<GeometryDrawing Brush="#FF000000" Geometry="F1 M 137.611,773.994L 185.611,737.994L 166.945,721.994"/>
<GeometryDrawing Brush="#FF000000" Geometry="F1 M 205.611,800L 233.611,756.66L 213.611,751.327"/>
<GeometryDrawing Geometry="F1 M 576.278,440C 576.278,440 700.278,526.667 586.945,594.667C 473.611,662.667 674.491,662.947 674.945,660C 677.611,642.667 677.611,676 677.611,676L 593.611,676L 657.611,709.333L 642.945,724L 584.278,681.333L 609.18,739.063L 594.945,741.333L 574.945,672L 521.611,617.333C 521.611,617.333 602.945,542.667 602.945,541.333C 602.945,540 538.945,474.667 538.945,474.667L 576.278,440 Z ">
<GeometryDrawing.Pen>
<Pen Thickness="" LineJoin="Round">
<Pen.Brush>
<RadialGradientBrush RadiusX="0.849206" RadiusY="0.455319" Center="0.424603,0.540425" GradientOrigin="0.424603,0.540425">
<RadialGradientBrush.GradientStops>
<GradientStop Color="#FF17FF00" Offset=""/>
<GradientStop Color="#FF1F9E03" Offset=""/>
</RadialGradientBrush.GradientStops>
<RadialGradientBrush.RelativeTransform>
<TransformGroup>
<RotateTransform CenterX="0.424603" CenterY="0.540425" Angle=""/>
</TransformGroup>
</RadialGradientBrush.RelativeTransform>
</RadialGradientBrush>
</Pen.Brush>
</Pen>
</GeometryDrawing.Pen>
<GeometryDrawing.Brush>
<RadialGradientBrush RadiusX="0.849206" RadiusY="0.455319" Center="0.424603,0.540425" GradientOrigin="0.424603,0.540425">
<RadialGradientBrush.GradientStops>
<GradientStop Color="#FF00FF00" Offset=""/>
<GradientStop Color="#FF1F9E03" Offset=""/>
</RadialGradientBrush.GradientStops>
<RadialGradientBrush.RelativeTransform>
<TransformGroup>
<RotateTransform CenterX="0.424603" CenterY="0.540425" Angle=""/>
</TransformGroup>
</RadialGradientBrush.RelativeTransform>
</RadialGradientBrush>
</GeometryDrawing.Brush>
</GeometryDrawing>
<GeometryDrawing Brush="#FF000000" Geometry="F1 M 606.944,782.327L 610.945,740.994L 592.278,742.327"/>
<GeometryDrawing Brush="#FF000000" Geometry="F1 M 725.611,680.661L 678.945,655.327L 678.945,677.994"/>
<GeometryDrawing Brush="#FF000000" Geometry="F1 M 686.278,755.494L 659.611,707.16L 642.278,728.827"/>
</DrawingGroup.Children>
</DrawingGroup>
</DrawingBrush.Drawing>
</DrawingBrush>
<DrawingBrush x:Key="TreasureCellContentBrush">
<DrawingBrush.Drawing>
<DrawingGroup>
<DrawingGroup.Children>
<GeometryDrawing Geometry="F1 M 348.611,192.66L 487.092,185.544L 275.633,396.463L 157.945,369.994L 348.611,192.66 Z ">
<GeometryDrawing.Brush>
<LinearGradientBrush StartPoint="0.551064,0.300188" EndPoint="0.799286,0.300188">
<LinearGradientBrush.RelativeTransform>
<TransformGroup>
<SkewTransform CenterX="0.551064" CenterY="0.300188" AngleX="24.6962" AngleY=""/>
<RotateTransform CenterX="0.551064" CenterY="0.300188" Angle="57.4147"/>
</TransformGroup>
</LinearGradientBrush.RelativeTransform>
<LinearGradientBrush.GradientStops>
<GradientStop Color="#FF7BA5F6" Offset=""/>
<GradientStop Color="#FF5E7AA8" Offset=""/>
</LinearGradientBrush.GradientStops>
</LinearGradientBrush>
</GeometryDrawing.Brush>
</GeometryDrawing>
<GeometryDrawing Geometry="F1 M 492.627,187.518L 668.534,363.372L 457.377,574.593L 281.47,398.739L 492.627,187.518 Z ">
<GeometryDrawing.Brush>
<LinearGradientBrush StartPoint="0.5,0.5" EndPoint="0.73785,0.737772">
<LinearGradientBrush.GradientStops>
<GradientStop Color="#FF244C8E" Offset=""/>
<GradientStop Color="#FF092A6B" Offset=""/>
</LinearGradientBrush.GradientStops>
</LinearGradientBrush>
</GeometryDrawing.Brush>
</GeometryDrawing>
<GeometryDrawing Geometry="F1 M 277.944,401.994L 451.278,576.661L 309.944,539.327L 156.611,373.994L 277.944,401.994 Z ">
<GeometryDrawing.Brush>
<LinearGradientBrush StartPoint="0.196833,1.14705" EndPoint="0.748051,1.14705">
<LinearGradientBrush.RelativeTransform>
<TransformGroup>
<SkewTransform CenterX="0.196833" CenterY="1.14705" AngleX="20.961" AngleY=""/>
<RotateTransform CenterX="0.196833" CenterY="1.14705" Angle="55.4724"/>
</TransformGroup>
</LinearGradientBrush.RelativeTransform>
<LinearGradientBrush.GradientStops>
<GradientStop Color="#FF103167" Offset=""/>
<GradientStop Color="#FF11357D" Offset=""/>
</LinearGradientBrush.GradientStops>
</LinearGradientBrush>
</GeometryDrawing.Brush>
</GeometryDrawing>
<GeometryDrawing Geometry="F1 M 413.611,656.66C 521.859,656.66 609.611,665.018 609.611,675.327C 609.611,685.636 521.859,693.994 413.611,693.994C 305.363,693.994 217.611,685.636 217.611,675.327C 217.611,665.018 305.363,656.66 413.611,656.66 Z ">
<GeometryDrawing.Brush>
<RadialGradientBrush RadiusX="0.5" RadiusY="4.96428" Center="0.5,0.5" GradientOrigin="0.5,0.5">
<RadialGradientBrush.GradientStops>
<GradientStop Color="#FF4A4A4A" Offset=""/>
<GradientStop Color="#FFBDBFC1" Offset=""/>
</RadialGradientBrush.GradientStops>
<RadialGradientBrush.RelativeTransform>
<TransformGroup/>
</RadialGradientBrush.RelativeTransform>
</RadialGradientBrush>
</GeometryDrawing.Brush>
</GeometryDrawing>
</DrawingGroup.Children>
</DrawingGroup>
</DrawingBrush.Drawing>
</DrawingBrush>
</ResourceDictionary>

WPF MultiDataTrigger的更多相关文章

  1. WPF中触发器Trigger、MultiTrigger、DataTrigger、MultiDataTrigger、EventTrigger几种

    WPF中有种叫做触发器的东西(记住不是数据库的trigger哦).它的主要作用是根据trigger的不同条件来自动更改外观属性,或者执行动画等操作. WPFtrigger的主要类型有:Trigger. ...

  2. wpf 触发器理解

    (1)属性触发器:其对应的类是Trigger.它在特定关联属性发生变化时被触发.一个属性的更改会在另一个属性中触发即时或动态更改. (2)数据触发器:其对应的类是DataTrigger.它在特定的CL ...

  3. [WPF系列]-基础系列 Property Trigger, DataTrigger & EventTrigger

    So far, we worked with styles by setting a static value for a specific property. However, using trig ...

  4. [WPF系列]-参考文献

      DataTemplates Data Templating Overview Styling and Templating DataTemplate Class FrameworkTemplate ...

  5. WPF触发器的使用

    WPF中定义了五个触发器类:Trigger.MultiTrigger.DataTrigger.multiDataTrigger.EventTrigger.下面我来介绍一下怎么使用这几个触发器的使用方法 ...

  6. WPF,Silverlight与XAML读书笔记第四十四 - 外观效果之样式

    说明:本系列基本上是<WPF揭秘>的读书笔记.在结构安排与文章内容上参照<WPF揭秘>的编排,对内容进行了总结并加入一些个人理解. 如果你有Web编程的经验,你会知道使用Sty ...

  7. WPF自定义控件与样式(7)-列表控件DataGrid与ListView自定义样式

    一.前言 申明:WPF自定义控件与样式是一个系列文章,前后是有些关联的,但大多是按照由简到繁的顺序逐步发布的等,若有不明白的地方可以参考本系列前面的文章,文末附有部分文章链接. 本文主要内容: Dat ...

  8. 《深入浅出WPF》笔记四

    1.WPF资源分布:数据库.资源文件.WPF对象资源.变量2.每个WPF的界面都具有一个名为Resources的属性,其类型为ResourceDictionary,以键值对的形式存储资源.3.检索资源 ...

  9. WPF QuickStart系列之样式和模板(Style and Template)

    在WPF桌面程序中,当我们想构建一个统一的UI表现时(在不同操作系统下,显示效果一致),此时我们就需要使用到WPF中的样式和模板技术.简单来说,如果我们需要简单的给一个Button设置宽,高,Marg ...

随机推荐

  1. MVC中使用AuthorizeAttribute注意事项

    代码调用顺序为:OnAuthorization-->AuthorizeCore-->HandleUnauthorizedRequest 如果AuthorizeCore返回false时,才会 ...

  2. HDOJ2024C语言合法标识符

    C语言合法标识符 Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Su ...

  3. Cocos2d-x中播放背景音乐

    背景音乐的播放与停止实例代码如下: SimpleAudioEngine::getInstance()->playBackgroundMusic("sound/Jazz.mp3" ...

  4. Quartz 第二课 Jobs and Triggers(官方文档翻译)

    The Quartz API IScheduler—与scheduler交互的主要的接口 IJob—这个接口主要定义scheduler执行内容 IJobDetail—用于定义Jobs实例 ITrigg ...

  5. 值类型与引用类型(特殊的string) Typeof和GetType() 静态和非静态使用 参数传递 相关知识

    学习大神博客链接: http://www.cnblogs.com/zhili/category/421637.html 一 值类型与引用类型 需要注意的string 是特殊类型的引用类型. 使用方法: ...

  6. 简单快速的伪Fractional Cascading

    Fractional Cascading算法是用于将零散的多个数组(亦可理解成比较高维的空间)中的数据的二分查找速度增加,用的是空间换时间的方法.然而这种方法并不是很好懂,而且中文文献很少.在这里介绍 ...

  7. 使用httpclient发送post请求与get请求

    最近因为项目的要求,需要使用httpclient来发送请求.但是查阅了许多博客,大家发送请求的方法各不相同.原因是因为httpclient的jar包的不同版本,其内部方法也不相同.因此抛开具体用到的j ...

  8. 在Centos6.5安装MySQL

    在阐述安装过程之前一定要再写一句,Centos7上安装MySQL是默认安装的MariaDB,因为在Centos7中用MariaDB代替了mysql数据库. linux安装软件很简单,有的时候只有一句话 ...

  9. excel 导入功能

    一:示例代码 //InputStream fis = new FileInputStream(tomcaturl+this.awardTask.getFileRoute());//可以通过上述方式获得 ...

  10. 彻底删除sql server的方法

    请先确定是否把sql相关的东西删了,建议进行如下操作. 1.先下个Windows Install Clean Up,清理sql相关东西,要全部清理. 2.到控制面板--添加删除程序中看是否还有未删的. ...