ComponentFactory.Krypton.Toolkit.KryptonHeaderGroupDesigner.InternalControlDesigner C# (CSharp) Method

InternalControlDesigner() public method

Returns the internal control designer with the specified index in the ControlDesigner.
public InternalControlDesigner ( int internalControlIndex ) : System.Windows.Forms.Design.ControlDesigner
internalControlIndex int A specified index to select the internal control designer. This index is zero-based.
return System.Windows.Forms.Design.ControlDesigner
        public override ControlDesigner InternalControlDesigner(int internalControlIndex)
        {
            // Get the control designer for the requested indexed child control
            if ((_headerGroup != null) && (internalControlIndex == 0))
                return (ControlDesigner)_designerHost.GetDesigner(_headerGroup.Panel);
            else
                return null;
        }