ComponentFactory.Krypton.Ribbon.ViewDrawRibbonGroupClusterButton.UpdateDropDownState C# (CSharp) 메소드

UpdateDropDownState() 개인적인 메소드

private UpdateDropDownState ( ) : void
리턴 void
        private void UpdateDropDownState()
        {
            bool dropDown = ((_ribbonButton.ButtonType == GroupButtonType.DropDown) ||
                             (_ribbonButton.ButtonType == GroupButtonType.Split));

            bool splitDown = (_ribbonButton.ButtonType == GroupButtonType.Split);

            _viewMediumSmallText2Sep1.Visible = splitDown;
            _viewMediumSmallDropArrow.Visible = dropDown;
            _viewMediumSmallText2Sep2.Visible = dropDown;

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