public WindowButton() { InitializeComponent(); this.IsEnabledChanged += (s, e) => RefreshContent(); }