Show / Hide Table of Contents

Interface IDialogComponent

Inherited Members
IPalComponent.Name
IPalComponent.Provides
IPalComponent.Logger
IPalComponent.Initialize(ToolkitOptions)
Namespace: OpenTK.Core.Platform
Assembly: OpenTK.Core.dll
Syntax
public interface IDialogComponent : IPalComponent

Properties

CanTargetFolders

If the value of this property is true SelectDirectory and SelectDirectory will work. Otherwise these flags will be ignored.

Declaration
bool CanTargetFolders { get; }
Property Value
Type Description
bool

Methods

ShowOpenDialog(WindowHandle, string, string, DialogFileFilter[]?, OpenDialogOptions)

Declaration
List<string>? ShowOpenDialog(WindowHandle parent, string title, string directory, DialogFileFilter[]? allowedExtensions, OpenDialogOptions options)
Parameters
Type Name Description
WindowHandle parent
string title
string directory
DialogFileFilter[] allowedExtensions
OpenDialogOptions options
Returns
Type Description
List<string>

ShowSaveDialog(WindowHandle, string, string, DialogFileFilter[]?, SaveDialogOptions)

Declaration
string? ShowSaveDialog(WindowHandle parent, string title, string directory, DialogFileFilter[]? allowedExtensions, SaveDialogOptions options)
Parameters
Type Name Description
WindowHandle parent
string title
string directory
DialogFileFilter[] allowedExtensions
SaveDialogOptions options
Returns
Type Description
string
In this article
Back to top Generated by DocFX