Table of Contents

Class StringSelectionDialogResult

Namespace
Playnite
Assembly
Playnite.SDK.dll

Represents result of selection string dialog operation.

public class StringSelectionDialogResult
Inheritance
StringSelectionDialogResult
Inherited Members

Constructors

StringSelectionDialogResult(bool, string?)

Creates new instance of StringSelectionDialogResult.

public StringSelectionDialogResult(bool result, string? selectedString)

Parameters

result bool

Dialog result.

selectedString string

Selected string.

StringSelectionDialogResult(bool, string?, MessageBoxResponse?)

public StringSelectionDialogResult(bool result, string? selectedString, MessageBoxResponse? selectedResponse)

Parameters

result bool
selectedString string
selectedResponse MessageBoxResponse

Properties

Result

Gets or sets dialog result. True if user confirmed selected otherwise false.

public bool Result { get; set; }

Property Value

bool

SelectedResponse

public MessageBoxResponse? SelectedResponse { get; set; }

Property Value

MessageBoxResponse

SelectedString

Gets or sets string selected by user.

public string? SelectedString { get; set; }

Property Value

string