ManagementPanel.CreateParams Property
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.
Gets the required creation parameters when the management panel is created.
protected:
virtual property System::Windows::Forms::CreateParams ^ CreateParams { System::Windows::Forms::CreateParams ^ get(); };
protected override System.Windows.Forms.CreateParams CreateParams { get; }
member this.CreateParams : System.Windows.Forms.CreateParams
Protected Overrides ReadOnly Property CreateParams As CreateParams
Property Value
A CreateParams object that contains the required creation parameters when the management panel is created.
Examples
The following example demonstrates the CreateParams property. This code example is part of a larger example provided for the ManagementPanel class.
// Create the customized CreateParams property.
protected override CreateParams CreateParams
{
get
{
const int WS_EX_LAYOUTRTL = 0x400000;
const int WS_EX_NOINHERITLAHYOUT = 0x100000;
CreateParams CP;
CP = base.CreateParams;
CP.ExStyle = CP.ExStyle | WS_EX_LAYOUTRTL | WS_EX_NOINHERITLAHYOUT;
return CP;
}
}
Remarks
You should use the CreateParams property to encapsulate the information needed when you create the ManagementPanel object. You can use the CreateParams property to pass information about the initial state and appearance of a page or control. This property enables you to create a custom System.Windows.Forms.CreateParams object.