Table of Contents

Method AskBrightnessAsync

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

AskBrightnessAsync(Action<byte>, byte)

Shows dialog which asks to enter the brightness value. Possible values are 0..255.

public static void AskBrightnessAsync(Action<byte> onApply, byte defaultValue = 255)

Parameters

onApply Action<byte>

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

defaultValue byte

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