PopupEventArgs(IWin32Window, Control, Boolean, Size) Konstruktor

Definition

Initialisiert eine Instanz der PopupEventArgs-Klasse.

public:
 PopupEventArgs(System::Windows::Forms::IWin32Window ^ associatedWindow, System::Windows::Forms::Control ^ associatedControl, bool isBalloon, System::Drawing::Size size);
public PopupEventArgs (System.Windows.Forms.IWin32Window associatedWindow, System.Windows.Forms.Control associatedControl, bool isBalloon, System.Drawing.Size size);
public PopupEventArgs (System.Windows.Forms.IWin32Window? associatedWindow, System.Windows.Forms.Control? associatedControl, bool isBalloon, System.Drawing.Size size);
new System.Windows.Forms.PopupEventArgs : System.Windows.Forms.IWin32Window * System.Windows.Forms.Control * bool * System.Drawing.Size -> System.Windows.Forms.PopupEventArgs
Public Sub New (associatedWindow As IWin32Window, associatedControl As Control, isBalloon As Boolean, size As Size)

Parameter

associatedWindow
IWin32Window

Das IWin32Window, an das die QuickInfo gebunden ist.

associatedControl
Control

Das Control, für das die QuickInfo erstellt wird.

isBalloon
Boolean

true, um anzugeben, dass das zugeordnete QuickInfo-Fenster sprechblasenförmig dargestellt wird, andernfalls false, um anzugeben, dass das QuickInfo-Fenster die übliche rechteckige Form aufweist.

size
Size

Die Size der QuickInfo.

Hinweise

Die Parameter für den PopupEventArgs Konstruktor werden verwendet, um die entsprechenden, ähnlich benannten Eigenschaften zu initialisieren. Der associatedControl Parameter kann sein null , wenn das besitzende Fenster nicht vom Typ Controlist.

Gilt für:

Weitere Informationen