using System; using System.Windows; using System.Windows.Media; namespace BabySmash { /// /// Interaction logic for CoolSquare.xaml /// [Serializable] public partial class CoolSquare : IHasFace { public CoolSquare(Brush x) : this() { this.Body.Fill = x; } public CoolSquare() { this.InitializeComponent(); } public Visibility FaceVisible { get { return Face.Visibility; } set { Face.Visibility = value; } } } }