Bewerken

Delen via


WindowsFormsSynchronizationContext.AutoInstall Property

Definition

Gets or sets a value indicating whether the WindowsFormsSynchronizationContext is installed when a control is created.

public:
 static property bool AutoInstall { bool get(); void set(bool value); };
public static bool AutoInstall { get; set; }
static member AutoInstall : bool with get, set
Public Shared Property AutoInstall As Boolean

Property Value

true if the WindowsFormsSynchronizationContext is installed; otherwise, false. The default is true.

Remarks

The AutoInstall property determines whether the WindowsFormsSynchronizationContext is installed when a control is created, or when a message loop is started.

Applies to

See also