ComponentFactory.Krypton.Ribbon.ViewDrawRibbonContextTitle.GetPreferredSize C# (CSharp) Méthode

GetPreferredSize() public méthode

Discover the preferred size of the element.
public GetPreferredSize ( ViewLayoutContext context ) : Size
context ComponentFactory.Krypton.Toolkit.ViewLayoutContext Layout context.
Résultat System.Drawing.Size
        public override Size GetPreferredSize(ViewLayoutContext context)
        {
            // We have no preference, just set our size to whatever is needed
            return Size.Empty;
        }