UserControl.DesignerInitialize Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Performs any initialization steps on the user control that are required by RAD designers.
public:
void DesignerInitialize();
public void DesignerInitialize ();
member this.DesignerInitialize : unit -> unit
Public Sub DesignerInitialize ()
Examples
The following example calls the DesignerInitialize method during the Page_Init
stage of request processing. This makes the user control available to a RAD designer such as Visual Studio 2005.
// Initialize the UserControl object that has been created declaratively.
myControl.InitializeAsUserControl(this);
' Initialize the UserControl object that has been created declaratively.
myControl.InitializeAsUserControl(Me)
Applies to
See also
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.