System.Windows.Forms.Control.CreateParams Property

Gets the required creation parameters when the control handle is created.

Syntax

protected virtual CreateParams CreateParams { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The Control.CreateParams property should not be overridden and used to adjust the properties of your derived control. Properties such as the CreateParams.Caption, CreateParams.Width, and CreateParams.Height should be set by the corresponding properties in your control such as Control.Text, Control.Width and Control.Height. The System.Windows.Forms.CreateParams should only be extended when you are wrapping a standard Windows control class or to set styles not provided by the Windows Forms namespace. For more information about creating control parameters, see the CreateWindow and CreateWindowEx functions and the CREATESTRUCT structure documentation in the MSDN library at http://msdn.microsoft.com/library.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0