ComponentFactory.Krypton.Toolkit.KryptonDesignerActionItem.KryptonDesignerActionItem C# (CSharp) Method

KryptonDesignerActionItem() public method

Initialize a new instance of the KrpytonDesignerActionVerbItem class.
public KryptonDesignerActionItem ( DesignerVerb verb, string category ) : System
verb System.ComponentModel.Design.DesignerVerb Verb instance to wrap.
category string Name of the category the action belongs to.
return System
        public KryptonDesignerActionItem(DesignerVerb verb, string category)
            : base(null, null, null)
        {
            Debug.Assert(verb != null);
            Debug.Assert(category != null);

            // Validate parameters
            if (verb == null) throw new ArgumentNullException("verb");
            if (category == null) throw new ArgumentNullException("category");

            // Remember details
            _verb = verb;
            _category = category;
        }
KryptonDesignerActionItem