Name
DocumentDesigner
Synopsis
This class extends ScrollableControlDesigner to
provide design-time behavior for forms and user controls. This
designer can be extended to include design-time functionality common
to a particular class of design documents.
public class DocumentDesigner : ScrollableControlDesigner : System.ComponentModel.Design.IRootDesigner, System.Drawing.Design.IToolboxUser { // Public Constructors public DocumentDesigner(); // Protected Instance Fields protected IMenuEditorService menuEditorService; // Public Instance Properties public override SelectionRules SelectionRules{get; } // overrides ControlDesigner // Public Instance Methods // overrides ParentControlDesigner // Protected Instance Methods // overrides ParentControlDesigner protected virtual void EnsureMenuEditorService(System.ComponentModel.IComponent c); protected virtual bool GetToolSupported( // implements System.Drawing.Design.IToolboxUser // overrides ControlDesigner // overrides ControlDesigner // overrides ParentControlDesigner protected virtual void ToolPicked( // implements System.Drawing.Design.IToolboxUser // overrides ScrollableControlDesigner }
Hierarchy
System.Object
→ System.ComponentModel.Design.ComponentDesigner(System.ComponentModel.Design.IDesign,
System.IDisposable,
System.ComponentModel.Design.IDesignerFilter)
→ ControlDesigner → ParentControlDesigner(ISelectionUIHandl,
IOleDragClient)
→ ScrollableControlDesigner → DocumentDesigner(System.ComponentModel.Design.IRootDesign,
System.Drawing.Design.IToolboxUser) ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access