ComponentFactory.Krypton.Ribbon.ViewDrawRibbonGroupClusterColorButton.UpdateDropDownState C# (CSharp) Method

UpdateDropDownState() private method

private UpdateDropDownState ( ) : void
return void
        private void UpdateDropDownState()
        {
            // Only show the drop down if the button is the correct type
            bool dropDown = ((_ribbonColorButton.ButtonType == GroupButtonType.DropDown) ||
                             (_ribbonColorButton.ButtonType == GroupButtonType.Split));

            _viewMediumSmallDropArrow.Visible = dropDown;
            _viewMediumSmallText2Sep2.Visible = dropDown;

            // Update the view with the type of button being used
            _viewMediumSmall.ButtonType = _ribbonColorButton.ButtonType;
        }