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

GetCheckBoxPreferredSize() public abstract method

Calculate the requested display size for the check box.
public abstract GetCheckBoxPreferredSize ( ViewLayoutContext context, IPalette palette, bool enabled, CheckState checkState, bool tracking, bool pressed ) : Size
context ViewLayoutContext Render context.
palette IPalette Palette for sourcing display values.
enabled bool Should check box be displayed as enabled.
checkState CheckState The checked state of the check box.
tracking bool Should check box be displayed as hot tracking.
pressed bool Should check box be displayed as pressed.
return System.Drawing.Size
        public abstract Size GetCheckBoxPreferredSize(ViewLayoutContext context,
                                                      IPalette palette,
                                                      bool enabled,
                                                      CheckState checkState,
                                                      bool tracking,
                                                      bool pressed);