WindowsFormsSynchronizationContext.AutoInstall Właściwość

Definicja

Pobiera lub ustawia wartość wskazującą, czy WindowsFormsSynchronizationContext jest instalowana podczas tworzenia kontrolki.

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

Wartość właściwości

true jeśli plik WindowsFormsSynchronizationContext jest zainstalowany; w przeciwnym razie false. Wartość domyślna to true.

Uwagi

Właściwość AutoInstall określa, czy WindowsFormsSynchronizationContext jest instalowana po utworzeniu kontrolki, czy też po uruchomieniu pętli komunikatów.

Dotyczy

Zobacz też