Name

ControlDesigner

Synopsis

This class extends System.ComponentModel.Design.ComponentDesigner to provide a designer for Control classes. It provides properties to specify the Control that is being designed, and the SelectionRules that determine how that control can be selected and manipulated.


public class ControlDesigner : System.ComponentModel.Design.ComponentDesigner {

// Public Constructors

   public ControlDesigner();

// Protected Static Fields

                  // ={X=-2147483648,Y=-2147483648}

                  // Protected Instance Fields

   protected AccessibleObject accessibilityObj;

// Public Instance Properties

   public virtual AccessibleObject AccessibilityObject{get; }

   public override ICollection AssociatedComponents{get; }

// overrides System.ComponentModel.Design.ComponentDesigner

   public virtual Control Control{get; }

   public virtual SelectionRules SelectionRules{get; }

// Protected Instance Properties

   protected virtual bool EnableDragRect{get; }

// Public Instance Methods

   public virtual bool CanBeParentedTo(System.ComponentModel.Design.IDesigner parentDesigner);

   public override void Initialize(

  // overrides System.ComponentModel.Design.ComponentDesigner

                  // overrides System.ComponentModel.Design.ComponentDesigner

                  // overrides System.ComponentModel.Design.ComponentDesigner

                  // Protected Instance Methods

   protected void BaseWndProc(ref System.Windows.Forms.Message m);

   protected void DefWndProc(ref System.Windows.Forms.Message m);

   protected void DisplayError(Exception e);

  // overrides System.ComponentModel.Design.ComponentDesigner ...

Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.