Method AskIntAsync
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
titlestringDialog title.
onApplyAction<int>Action to call when 'Ok' button is pressed in the dialog.
defaultValueintDefault value. Optional. If not specified, uses 0.
minValueintMinimal value. Optional. If not specified, uses 0.
maxValueintMaximal value. Optional. If not specified, uses 255.