Show / Hide Table of Contents

Class ToolkitOptions.WindowsOptions

Windows backend specific options.

Inheritance
object
ToolkitOptions.WindowsOptions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
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
In this article
Back to top Generated by DocFX