Table of Contents

Class BadgedButton

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

Configuration of the round button with badge.

public class BadgedButton
Inheritance
BadgedButton
Inherited Members

Properties

ActiveBackgroundColor

Color of the button background shape when the button is active (selected, toggled). Default is "#FFCE5C"

public ColorValue ActiveBackgroundColor { get; set; }

Property Value

ColorValue

ActiveForegroundColor

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

public ColorValue ActiveForegroundColor { get; set; }

Property Value

ColorValue

BackgroundColor

Color of the button background shape. Default is "#0000007A"

public ColorValue BackgroundColor { get; set; }

Property Value

ColorValue

BadgeBackgroundColor

Color of the badge's background shape. Default is "#FFFFFF"

public ColorValue BadgeBackgroundColor { get; set; }

Property Value

ColorValue

BadgeForegroundColor

Color of the badge foreground (icon, text). Default is "#C8193C"

public ColorValue BadgeForegroundColor { get; set; }

Property Value

ColorValue

ForegroundColor

Color of the button foreground (icon, text). Default is "#FFFFFF"

public ColorValue ForegroundColor { get; set; }

Property Value

ColorValue

Visible

Whether the button is visible. 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

FromNative(BadgedButton)

public static BadgedButton FromNative(BadgedButton source)

Parameters

source BadgedButton

Returns

BadgedButton

ToNative()

public BadgedButton ToNative()

Returns

BadgedButton