ToolTip.CreateParams ToolTip.CreateParams ToolTip.CreateParams ToolTip.CreateParams Property

定义

获取用于工具提示窗口的创建参数。Gets the creation parameters for the ToolTip window.

protected:
 virtual property System::Windows::Forms::CreateParams ^ CreateParams { System::Windows::Forms::CreateParams ^ get(); };
protected virtual System.Windows.Forms.CreateParams CreateParams { get; }
member this.CreateParams : System.Windows.Forms.CreateParams
Protected Overridable ReadOnly Property CreateParams As CreateParams

属性值

包含创建工具提示所需信息的 CreateParamsA CreateParams containing the information needed to create the ToolTip.

注解

CreateParams当包装标准 Windows 控件类或设置System.Windows.Forms命名空间未提供的样式时, 才应扩展属性。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. 有关创建控件参数的详细信息, 请参阅CreateWindow MSDN CreateWindowEx library 中的CREATESTRUCT Windows Platform SDK 参考中的和函数和结构文档。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.

备注

当在派生CreateParams类中重写属性时, 使用基类的CreateParams属性扩展基实现。When overriding the CreateParams property in a derived class, use the base class's CreateParams property to extend the base implementation.

安全性

InheritanceDemand
用于在获取属性值时继承类以调用非托管代码。For inheriting classes to call unmanaged code when getting the property value.

LinkDemand
供直接调用方在获取属性值时调用非托管代码。For the immediate caller to call unmanaged code when getting the property value.

适用于

另请参阅