ComponentFactory.Krypton.Ribbon.ViewDrawRibbonRecentDocs.GetPreferredSize C# (CSharp) 메소드

GetPreferredSize() 공개 메소드

Discover the preferred size of the element.
public GetPreferredSize ( ViewLayoutContext context ) : Size
context ComponentFactory.Krypton.Toolkit.ViewLayoutContext Layout context.
리턴 System.Drawing.Size
        public override Size GetPreferredSize(ViewLayoutContext context)
        {
            return context.Renderer.RenderStandardContent.GetContentPreferredSize(context, _contentProvider, this,
                                                                                  VisualOrientation.Top,
                                                                                  PaletteState.Normal, false);
        }