Table of Contents

Class BadgedButton

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

Configuration of the button with a badge.

public class BadgedButton
Inheritance
BadgedButton
Inherited Members

Properties

ActiveBackgroundColor

The color of the button's background when the button is active (selected, toggled). Default is "#FFCE5C"

public ColorValue ActiveBackgroundColor { get; set; }

Property Value

ColorValue

ActiveForegroundColor

The color of the button's foreground (icon, text) when the button is active (selected, toggled). Default is "#1C1B1F"

public ColorValue ActiveForegroundColor { get; set; }

Property Value

ColorValue

BackgroundColor

The color of the button's background. Default is "#0000007A"

public ColorValue BackgroundColor { get; set; }

Property Value

ColorValue

BadgeBackgroundColor

The color of the badge's background. Default is "#FFFFFF"

public ColorValue BadgeBackgroundColor { get; set; }

Property Value

ColorValue

BadgeForegroundColor

The color of the badge's foreground (icon, text). Default is "#C8193C"

public ColorValue BadgeForegroundColor { get; set; }

Property Value

ColorValue

ForegroundColor

The color of the button's foreground (icon, text). Default is "#FFFFFF"

public ColorValue ForegroundColor { get; set; }

Property Value

ColorValue

Visible

Determines whether the button is visible or not. Default is true

public bool Visible { get; set; }

Property Value

bool

Methods

FromJson(string)

public static BadgedButton FromJson(string rawJson)

Parameters

rawJson string

Returns

BadgedButton