Table of Contents

Method AskByteAsync

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

AskByteAsync(string, Action<byte>, byte, byte)

Shows dialog which asks to enter a byte value.

public static void AskByteAsync(string title, Action<byte> onApply, byte defaultValue = 0, byte maxValue = 255)

Parameters

title string

Dialog title.

onApply Action<byte>

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

defaultValue byte

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

maxValue byte

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