Table of Contents

Method AskIntAsync

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

AskIntAsync(string?, Action<int>, int, int, int)

Shows dialog which asks to enter a byte value.

public static void AskIntAsync(string? title, Action<int> onApply, int defaultValue = 0, int minValue = 0, int maxValue = 255)

Parameters

title string

Dialog title.

onApply Action<int>

Action to call when 'Ok' button is pressed in the dialog.

defaultValue int

Default value. Optional. If not specified, uses 0.

minValue int

Minimal value. Optional. If not specified, uses 0.

maxValue int

Maximal value. Optional. If not specified, uses 255.