PlatformAllowReinitialize Property |
Gets or sets a value indicating that the platform should allow reinitialization.
Namespace:
Eto
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public static bool AllowReinitialize { get; set; }
Public Shared Property AllowReinitialize As Boolean
Get
Set
static member AllowReinitialize : bool with get, set
Property Value
Type:
BooleanRemarks
When false, prevents incorrect logic that may create multiple instances of
Application
or
Platform in the same thread which can causes issues where handlers are no longer registered, etc.
Multiple instances should still be able to be created in separate threads (for platforms that support it) when this is false.
See Also