ComponentFactory.Krypton.Toolkit.RenderBase.GetContentPreferredSize C# (CSharp) Method

GetContentPreferredSize() public abstract method

Get the preferred size for drawing the content.
public abstract GetContentPreferredSize ( ViewLayoutContext context, IPaletteContent palette, IContentValues values, VisualOrientation orientation, PaletteState state, bool composition ) : Size
context ViewLayoutContext Layout context.
palette IPaletteContent Content palette details.
values IContentValues Content values.
orientation VisualOrientation Visual orientation of the content.
state PaletteState State associated with rendering.
composition bool Drawing onto a composition element.
return System.Drawing.Size
        public abstract Size GetContentPreferredSize(ViewLayoutContext context,
													 IPaletteContent palette,
													 IContentValues values,
													 VisualOrientation orientation,
													 PaletteState state,
                                                     bool composition);