Table of Contents

Class DialogOptions

Namespace
AlphaFramework.Presentation
Assembly
AlphaFramework.Presentation.dll

Options for loading a dialog with LoadDialog(string, DialogOptions, object?).

public sealed class DialogOptions
Inheritance
object
DialogOptions

Properties

Centered

Center the dialog on the screen. Overrides Location.

public bool Centered { get; init; }

Property Value

bool

Location

The location of the dialog on the screen. Leave unset for a small offset from the top-left corner.

public Point? Location { get; init; }

Property Value

Point?

Modal

Exclusively focus the dialog, blocking input to all other dialogs.

public bool Modal { get; init; }

Property Value

bool

Splash

Close all other dialogs before showing this one.

public bool Splash { get; init; }

Property Value

bool