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