ToolTip.CreateParams Property


This API supports the product infrastructure and is not intended to be used directly from your code.

Gets the creation parameters for the ToolTip window.

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

protected virtual CreateParams CreateParams {
		Flags = SecurityPermissionFlag.UnmanagedCode)]
	[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)]

Property Value

Type: System.Windows.Forms.CreateParams

A CreateParams containing the information needed to create the ToolTip.

The CreateParams property should only be extended when you are wrapping a standard Windows control class or to set styles not provided by the System.Windows.Forms namespace. For more information about creating control parameters, see the CreateWindow and CreateWindowEx functions and the CREATESTRUCT structure documentation in the Windows Platform SDK reference located in the MSDN Library.


When overriding the CreateParams property in a derived class, use the base class's CreateParams property to extend the base implementation.


For inheriting classes to call unmanaged code when getting the property value.


For the immediate caller to call unmanaged code when getting the property value.

.NET Framework
Available since 2.0
Return to top