Click or drag to resize

PlatformContext Property

Gets an object to wrap in the platform's context, when using multiple platforms.

Namespace:  Eto
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public IDisposable Context { get; }

Property Value

Type: IDisposable
Remarks
This sets this platform as current, and reverts back to the previous platform when disposed. This value may be null.
Examples
using (platform.Context)
{
    // do some stuff with the specified platform
}
See Also