Class InfoBoxSettings
Infobox settings
Inheritance
object
InfoBoxSettings
Namespace: Terminaux.Inputs.Styles.Infobox.Tools
Assembly: Terminaux.dll
Syntax
public class InfoBoxSettings
Constructors
| Edit this page View SourceInfoBoxSettings()
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
Type | Name | Description |
---|---|---|
InfoBoxSettings | settings | Settings instance to copy settings from |
Properties
| Edit this page View SourceBackgroundColor
Background color of the infobox
Declaration
public Color BackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
BorderSettings
Border settings for the informational box
Declaration
public BorderSettings BorderSettings { get; set; }
Property Value
Type | Description |
---|---|
BorderSettings |
ForegroundColor
Foreground color of the infobox
Declaration
public Color ForegroundColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
GlobalSettings
Global infobox settings
Declaration
public static InfoBoxSettings GlobalSettings { get; }
Property Value
Type | Description |
---|---|
InfoBoxSettings |
PasswordMaskChar
Password mask character
Declaration
public char PasswordMaskChar { get; set; }
Property Value
Type | Description |
---|---|
char |
Positioning
Positioning settings
Declaration
public InfoBoxPositioning Positioning { get; set; }
Property Value
Type | Description |
---|---|
InfoBoxPositioning |
RadioButtons
Use the radio buttons when dealing with selection infoboxes (single-choice)
Declaration
public bool RadioButtons { get; set; }
Property Value
Type | Description |
---|---|
bool |
Title
Title of the informational box
Declaration
public string Title { get; set; }
Property Value
Type | Description |
---|---|
string |
UseColors
Whether to use the colors or not
Declaration
public bool UseColors { get; set; }
Property Value
Type | Description |
---|---|
bool |
UsePopover
Use popover for multi-input selections
Declaration
public bool UsePopover { get; set; }
Property Value
Type | Description |
---|---|
bool |
Methods
| Edit this page View SourceSetBackgroundColor(Color?)
Sets the background color of the infobox
Declaration
public void SetBackgroundColor(Color? color)
Parameters
Type | Name | 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
Type | Name | Description |
---|---|---|
Color | color | Color to set. If null, inherits the color from the theme. |