Name

ComponentEditorForm

Synopsis

This class provides the user interface for a WindowsFormsComponentEditor. It can show a number of ComponentEditorPage objects for a particular component. You specify the source component and the types of the pages to show in the constructor.

It is very similar in conception to the Win32 PropertySheet control, but is used by Visual Studio .NET to display component properties.


public class ComponentEditorForm : System.Windows.Forms.Form {

// Public Constructors

   public ComponentEditorForm(object component, Type[ ] pageTypes);

// Public Instance Methods

   public override bool PreProcessMessage(

  // overrides System.Windows.Forms.Control

   public virtual DialogResult ShowForm();

   public virtual DialogResult ShowForm(int page);

   public virtual DialogResult ShowForm(System.Windows.Forms.IWin32Window owner);

   public virtual DialogResult ShowForm(System.Windows.Forms.IWin32Window owner, int page);

// Protected Instance Methods

                  // overrides System.Windows.Forms.Form

   protected override void OnHelpRequested(

  // overrides System.Windows.Forms.Control

   protected virtual void OnSelChangeSelector(object source, System.Windows.Forms.TreeViewEventArgs e);

}

Hierarchy

System.Object System.MarshalByRefObject System.ComponentModel.Component(System.ComponentModel.ICompone, System.IDisposable) System.Windows.Forms.Control(System.Windows.Forms.IOleContr, System.Windows.Forms.IOleObject, System.Windows.Forms.IOleInPlaceObject, System.Windows.Forms.IOleInPlaceActiveObject, System.Windows.Forms.IOleWindow ...

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.