ToolStripDropDown.CreateParams Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets parameters of a new window.

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

protected override CreateParams CreateParams {
	[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)]
	get;
}

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: