Class ToolkitOptions.WindowsOptions
Windows backend specific options.
Inherited Members
Namespace: OpenTK.Platform
Assembly: OpenTK.Platform.dll
Syntax
public sealed class ToolkitOptions.WindowsOptions
Properties
EnableVisualStyles
If visual styles should be enabled or not. OpenTK requires visual styles to be enabled for ShowMessageBox(WindowHandle, string, string, MessageBoxType, IconHandle?) to work on windows. Visual styles can either be enabled by OpenTK by leaving this propery as true alternatively it can be enabled using a manifest that declares a depedency on Microsoft.Windows.Common-Controls (6.0.0.0). This property is set to true by default, but can be disabled through this option.
Declaration
public bool EnableVisualStyles { get; set; }
Property Value
Type | Description |
---|---|
bool |
IsDPIAware
Whether OpenTK should mark the process as "DPI aware".
Declaration
public bool IsDPIAware { get; set; }
Property Value
Type | Description |
---|---|
bool |