Yuhan.WPF.CustomWindow.WindowButton.RefreshContent C# (CSharp) 메소드

RefreshContent() 보호된 메소드

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