Yuhan.WPF.CustomWindow.WindowButton.RefreshContent C# (CSharp) Méthode

RefreshContent() protected méthode

Set's the content of the button according to the current 'IsEnabled' state of the button
protected RefreshContent ( ) : void
Résultat void
        protected void RefreshContent()
        {
            // Button is enabled
            if (this.IsEnabled)
                this.ActiveContent = this.Content;
            else
                this.ActiveContent = this.ContentDisabled;
        }