This class provides functionality for designers. In the .NET
framework, only the
System.Web.UI.Design.WebControls.PanelDesigner
derives from this class. It uses read/write
functionality to providea design-time surface where you can directly
type static inner textfor the Panel control.
Note that this class bypasses theControlDesigner.GetDesignTimeHtml( ) method,
because the design surface will be drawn using the
ControlDesigner.GetDesignTimeHtml( )
method of the
designers for the child controls.
public class ReadWriteControlDesigner : ControlDesigner {
// Public Constructors
public
ReadWriteControlDesigner ( );
// Public Instance Methods
public override void
OnComponentChanged (object
sender ,
System.ComponentModel.Design.ComponentChangedEventArgs
ce );// overrides ControlDesigner
// Protected Instance Methods
protected virtual void
MapPropertyToStyle (string
propName , object
varPropValue );
protected override void
OnBehaviorAttached ( ); // overrides ControlDesigner
}