Table of Contents

Class ScanbotAlertDialog

Namespace
ScanbotSDK.MAUI.Common
Assembly
ScanbotSDK.Shared.dll

Configuration of the the standard alert dialog.

public class ScanbotAlertDialog
Inheritance
ScanbotAlertDialog
Inherited Members

Properties

CancelButton

Configuration of the cancel button.

[JsonRequired]
public ButtonConfiguration CancelButton { get; set; }

Property Value

ButtonConfiguration

DividerColor

Color of the divider line. Default is "?sbColorOutline"

public ColorValue DividerColor { get; set; }

Property Value

ColorValue

ModalOverlayColor

Dialog overlay color. Default is "?sbColorModalOverlay"

public ColorValue ModalOverlayColor { get; set; }

Property Value

ColorValue

OkButton

Configuration of the retry button.

[JsonRequired]
public ButtonConfiguration OkButton { get; set; }

Property Value

ButtonConfiguration

SheetColor

Background color of the alert dialog. Default is "?sbColorSurface"

public ColorValue SheetColor { get; set; }

Property Value

ColorValue

Subtitle

Explanation message message.

public StyledText Subtitle { get; set; }

Property Value

StyledText

Title

Title displayed above the message.

public StyledText Title { get; set; }

Property Value

StyledText

Methods

FromJson(string)

public static ScanbotAlertDialog FromJson(string rawJson)

Parameters

rawJson string

Returns

ScanbotAlertDialog

FromNative(ScanbotAlertDialog)

public static ScanbotAlertDialog FromNative(ScanbotAlertDialog source)

Parameters

source ScanbotAlertDialog

Returns

ScanbotAlertDialog

ToNative()

public ScanbotAlertDialog ToNative()

Returns

ScanbotAlertDialog