Class InfoBoxSettings
Infobox settings
Inheritance
object
InfoBoxSettings
Namespace
Syntax
public class InfoBoxSettings
Constructors
InfoBoxSettings()
Makes a new instance of the infobox settings
Declaration
public InfoBoxSettings()
InfoBoxSettings(InfoBoxSettings)
Makes a new instance of the infobox settings with the copied settings
Declaration
public InfoBoxSettings(InfoBoxSettings settings)
Parameters
| Name | Type | Description |
|---|---|---|
| settings | InfoBoxSettings | Settings instance to copy settings from |
Properties
BackgroundColor
Background color of the infobox
Property Value
Color
Declaration
public Color BackgroundColor { get; set; }
BorderSettings
Border settings for the informational box
ForegroundColor
Foreground color of the infobox
Property Value
Color
Declaration
public Color ForegroundColor { get; set; }
GlobalSettings
Global infobox settings
PasswordMaskChar
Password mask character
Property Value
char
Declaration
public char PasswordMaskChar { get; set; }
Positioning
Positioning settings
RadioButtons
Use the radio buttons when dealing with selection infoboxes (single-choice)
Property Value
bool
Declaration
public bool RadioButtons { get; set; }
Title
Title of the informational box
Property Value
string
Declaration
public string Title { get; set; }
UseColors
Whether to use the colors or not
Property Value
bool
Declaration
public bool UseColors { get; set; }
UsePopover
Use popover for multi-input selections
Property Value
bool
Declaration
public bool UsePopover { get; set; }
Methods
SetBackgroundColor(Color?)
Sets the background color of the infobox
Declaration
public void SetBackgroundColor(Color? color)
Parameters
| Name | Type | Description |
|---|---|---|
| color | Color | Color to set. If null, inherits the color from the theme. |
SetForegroundColor(Color?)
Sets the foreground color of the infobox
Declaration
public void SetForegroundColor(Color? color)
Parameters
| Name | Type | Description |
|---|---|---|
| color | Color | Color to set. If null, inherits the color from the theme. |