Table of Contents

Class TopBarConfiguration

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

Configuration of the top screen bar's appearance.

public class TopBarConfiguration
Inheritance
TopBarConfiguration
Inherited Members

Properties

BackgroundColor

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

Visual mode used for the top bar. Default is SOLID

public TopBarMode Mode { get; set; }

Property Value

TopBarMode

StatusBarMode

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

FromNative(TopBarConfiguration)

public static TopBarConfiguration FromNative(TopBarConfiguration source)

Parameters

source TopBarConfiguration

Returns

TopBarConfiguration

ToNative()

public TopBarConfiguration ToNative()

Returns

TopBarConfiguration