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
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
BackgroundColor
Color of the button background shape. Default is "#0000007A"
public ColorValue BackgroundColor { get; set; }
Property Value
BadgeBackgroundColor
Color of the badge's background shape. Default is "#FFFFFF"
public ColorValue BadgeBackgroundColor { get; set; }
Property Value
BadgeForegroundColor
Color of the badge foreground (icon, text). Default is "#C8193C"
public ColorValue BadgeForegroundColor { get; set; }
Property Value
ForegroundColor
Color of the button foreground (icon, text). Default is "#FFFFFF"
public ColorValue ForegroundColor { get; set; }
Property Value
Visible
Whether the button is visible. Default is true
public bool Visible { get; set; }
Property Value
Methods
FromJson(string)
public static BadgedButton FromJson(string rawJson)
Parameters
rawJson
string
Returns
FromNative(BadgedButton)
public static BadgedButton FromNative(BadgedButton source)
Parameters
source
BadgedButton
Returns
ToNative()
public BadgedButton ToNative()