ComponentFactory.Krypton.Ribbon.ViewDrawRibbonGroupGallery.ResetSolutionSize C# (CSharp) Method

ResetSolutionSize() public method

Reset the container back to its requested size.
public ResetSolutionSize ( ) : void
return void
        public void ResetSolutionSize()
        {
            // Restore the container back to the defined size
            _ribbonGallery.ItemSizeCurrent = _ribbonGallery.ItemSizeMaximum;
            _ribbonGallery.InternalItemCount = _ribbonGallery.LargeItemCount;
            _viewLarge.Visible = (_ribbonGallery.ItemSizeCurrent == GroupItemSize.Small);
        }