<UserControl x:Class="BallanceTasEditor.Frontend.Widgets.FrameCell"
             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:BallanceTasEditor.Frontend.Widgets"
             xmlns:conveter="clr-namespace:BallanceTasEditor.Frontend.Converters"
             mc:Ignorable="d" 
             x:Name="Root"
             d:DesignHeight="60" d:DesignWidth="120">
    <Rectangle Stroke="{Binding ElementName=Root, Path=IsSelected, Mode=OneWay, Converter={x:Static conveter:CellIsSelectedToColorConverter.Instance}}" StrokeThickness="3"
               Fill="{Binding ElementName=Root, Path=IsSet, Mode=OneWay, Converter={x:Static conveter:CellIsSetToColorConverter.Instance}}"/>
</UserControl>
