Table of Contents

Class BadgeStyle

Namespace
ScanbotSDK.MAUI.Barcode
Assembly
ScanbotSDK.Shared.dll

Configuration of the round button.

public class BadgeStyle
Inheritance
BadgeStyle
Inherited Members

Properties

Background

The style of the button's background.

[JsonRequired]
public BackgroundStyle Background { get; set; }

Property Value

BackgroundStyle

ForegroundColor

Color of the button foreground (icon, text). Default is "?sbColorOnSurface"

public ColorValue ForegroundColor { get; set; }

Property Value

ColorValue

Visible

Control the visibility of the badge. Default is true

public bool Visible { get; set; }

Property Value

bool

Methods

FromJson(string)

public static BadgeStyle FromJson(string rawJson)

Parameters

rawJson string

Returns

BadgeStyle

FromNative(BadgeStyle)

public static BadgeStyle FromNative(BadgeStyle source)

Parameters

source BadgeStyle

Returns

BadgeStyle

ToNative()

public BadgeStyle ToNative()

Returns

BadgeStyle