Class TopBarConfiguration
- Namespace
- ScanbotSDK.MAUI.Common
- Assembly
- ScanbotSDK.Shared.dll
Configuration of the top screen bar's appearance.
public class TopBarConfiguration
- Inheritance
-
TopBarConfiguration
- Inherited Members
Properties
BackgroundColor
Background color of the top bar to be used when the visual mode is specified as SOLID. Otherwise ignored. Default is "?sbColorPrimary"
public ColorValue BackgroundColor { get; set; }
Property Value
CancelButton
Configuration of the cancel button's appearance.
public ButtonConfiguration CancelButton { get; set; }
Property Value
Mode
Visual mode used for the top bar. Default is SOLID
public TopBarMode Mode { get; set; }
Property Value
StatusBarMode
Visual mode used for the status bar icons. Default is LIGHT
public StatusBarMode StatusBarMode { get; set; }
Property Value
Title
Appearance of the top bar's title.
public StyledText Title { get; set; }
Property Value
Methods
FromJson(string)
public static TopBarConfiguration FromJson(string rawJson)
Parameters
rawJson
string
Returns
FromNative(TopBarConfiguration)
public static TopBarConfiguration FromNative(TopBarConfiguration source)
Parameters
source
TopBarConfiguration
Returns
ToNative()
public TopBarConfiguration ToNative()