Table of Contents

Class ButtonConfiguration

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

Button configuration.

public class ButtonConfiguration
Inheritance
ButtonConfiguration
Inherited Members

Properties

Background

The style of the button's background.

public BackgroundStyle Background { get; set; }

Property Value

BackgroundStyle

Foreground

The style of the button's foreground (icon, text).

public ForegroundStyle Foreground { get; set; }

Property Value

ForegroundStyle

Text

The text to be displayed on the button. Default is ""

public string Text { get; set; }

Property Value

string

Visible

Whether the button is visible or not. Default is true

public bool Visible { get; set; }

Property Value

bool

Methods

FromJson(string)

public static ButtonConfiguration FromJson(string rawJson)

Parameters

rawJson string

Returns

ButtonConfiguration

FromNative(ButtonConfiguration)

public static ButtonConfiguration FromNative(ButtonConfiguration source)

Parameters

source ButtonConfiguration

Returns

ButtonConfiguration

ToNative()

public ButtonConfiguration ToNative()

Returns

ButtonConfiguration