Table of Contents

Method AskLightnessAsync

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

AskLightnessAsync(Action<byte>, byte)

Shows dialog which asks to enter the lightness value. Possible values are 0..200.

public static void AskLightnessAsync(Action<byte> onApply, byte defaultValue = 100)

Parameters

onApply Action<byte>

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

defaultValue byte

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