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
ForegroundColor
Color of the button foreground (icon, text). Default is "?sbColorOnSurface"
public ColorValue ForegroundColor { get; set; }
Property Value
Visible
Control the visibility of the badge. Default is true
public bool Visible { get; set; }
Property Value
Methods
FromJson(string)
public static BadgeStyle FromJson(string rawJson)
Parameters
rawJson
string
Returns
FromNative(BadgeStyle)
public static BadgeStyle FromNative(BadgeStyle source)
Parameters
source
BadgeStyle
Returns
ToNative()
public BadgeStyle ToNative()