Table of Contents

Class TopBarConfiguration

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

Configuration of the top bar's appearance.

public class TopBarConfiguration
Inheritance
TopBarConfiguration
Inherited Members

Properties

BackgroundColor

The background color of the top bar to be used when the visual mode is specified as SOLID. Otherwise ignored. Default is "?sbColorPrimary"

public ColorValue BackgroundColor { get; set; }

Property Value

ColorValue

CancelButton

Configuration of the 'cancel' button's appearance.

public ButtonConfiguration CancelButton { get; set; }

Property Value

ButtonConfiguration

Mode

The visual mode used for the top bar. Default is SOLID

public TopBarMode Mode { get; set; }

Property Value

TopBarMode

StatusBarMode

The visual mode used for the status bar icons. Default is LIGHT

public StatusBarMode StatusBarMode { get; set; }

Property Value

StatusBarMode

Title

Appearance of the top bar's title.

public StyledText Title { get; set; }

Property Value

StyledText

Methods

FromJson(string)

public static TopBarConfiguration FromJson(string rawJson)

Parameters

rawJson string

Returns

TopBarConfiguration