ComponentFactory.Krypton.Ribbon.ViewDrawRibbonCaptionArea.UpdateQAT C# (CSharp) Method

UpdateQAT() public method

Update display elements to reflect latest QAT setting.
public UpdateQAT ( ) : void
return void
        public void UpdateQAT()
        {
            bool before = _captionQAT.Visible;
            _captionQAT.Visible = _ribbon.Visible && (_ribbon.QATLocation == QATLocation.Above);
            _nonCaptionQAT.Visible = _ribbon.Visible && (_ribbon.QATLocation == QATLocation.Above);
            UpdateVisible();

            // A change in integrated caption visibility
            if (before != _captionQAT.Visible)
                QATButtonsChanged();
        }