WindowsFormsSynchronizationContext.AutoInstall WindowsFormsSynchronizationContext.AutoInstall WindowsFormsSynchronizationContext.AutoInstall 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; }
member this.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