ComponentFactory.Krypton.Toolkit.KryptonSplitterPanelDesigner.CanBeParentedTo C# (CSharp) Method

CanBeParentedTo() public method

Indicates if this designer's control can be parented by the control of the specified designer.
public CanBeParentedTo ( IDesigner parentDesigner ) : bool
parentDesigner IDesigner The IDesigner that manages the control to check.
return bool
        public override bool CanBeParentedTo(IDesigner parentDesigner)
        {
            // We should only ever exist inside a Krypton split container
            return (parentDesigner is KryptonSplitContainerDesigner);
        }