ComponentFactory.Krypton.Ribbon.ViewLayoutRibbonScrollPort.GetPreferredSize C# (CSharp) Method

GetPreferredSize() public method

Discover the preferred size of the element.
public GetPreferredSize ( ViewLayoutContext context ) : Size
context ComponentFactory.Krypton.Toolkit.ViewLayoutContext Layout context.
return System.Drawing.Size
        public override Size GetPreferredSize(ViewLayoutContext context)
        {
            // We always want to be the size needed to show the filler completely
            return _viewControl.GetPreferredSize(context);
        }