ToolStripDropDown::CreateParams Property

 

Gets parameters of a new window.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

protected:
property CreateParams^ CreateParams {
	[SecurityPermissionAttribute(SecurityAction::LinkDemand, Flags = SecurityPermissionFlag::UnmanagedCode)]
	virtual CreateParams^ get() override;
}

Property Value

Type: System.Windows.Forms::CreateParams^

An object of type CreateParams used when creating a new window.

You can override the CreateParams property to add extra functionality to inheriting classes, but you must first call the CreateParams method of the base class to verify that the control continues to work correctly.

SecurityPermission

for the immediate caller to call unmanaged code. Associated enumeration: SecurityPermissionFlag::UnmanagedCode

.NET Framework
Available since 2.0
Return to top
Show: