Class FinUI
Provides a common UI style for the FinCredentialForm, FinDocketForm, and perhaps other forms that use it.
Inheritance
Inherited Members
Namespace: Subsembly.FinTS.Forms
Assembly: Subsembly.FinTS.Win32.dll
Syntax
public static class FinUI
Remarks
By changing the properties of this class it is possible to tune the appearance of the standard forms in order to match your application style.
The FinUI class is a Monostate class that provides static properties only. It is not possible to create an instance of this class.
Fields
BodyTextColor
Declaration
public static Color BodyTextColor
Field Value
Type | Description |
---|---|
System.Drawing.Color |
CommandPanelColor
The background color to be used for the command button panel at the bottom of all Forms.
Declaration
public static Color CommandPanelColor
Field Value
Type | Description |
---|---|
System.Drawing.Color |
Remarks
The default command panel background color is a very light gray (#F0F0F0).
ControlForeColor
Declaration
public static Color ControlForeColor
Field Value
Type | Description |
---|---|
System.Drawing.Color |
FormFillColor
Background color to be used in all Forms.
Declaration
public static Color FormFillColor
Field Value
Type | Description |
---|---|
System.Drawing.Color |
Remarks
The default background color is pure white.
FormTextColor
Foreground color to be used in all Forms.
Declaration
public static Color FormTextColor
Field Value
Type | Description |
---|---|
System.Drawing.Color |
Remarks
The default background color is a very dark gray (#202020).
HeadingTextColor
The foreground color to be used with HeadingTextFont.
Declaration
public static Color HeadingTextColor
Field Value
Type | Description |
---|---|
System.Drawing.Color |
Remarks
Use FormFillColor or transparent as the background color of the text displayed using the HeadingTextFont.
The default heading color is black (#000000).
LabelColor
Declaration
public static Color LabelColor
Field Value
Type | Description |
---|---|
System.Drawing.Color |
MainInstructionColor
The foreground color to be used for main instruction headings together with HeadingTextFont.
Declaration
public static Color MainInstructionColor
Field Value
Type | Description |
---|---|
System.Drawing.Color |
Remarks
Use FormFillColor or transparent as the background color of the text displayed using the HeadingTextFont.
The default main instruction color is medium blue (#003399).
SubHeadingTextColor
Declaration
public static Color SubHeadingTextColor
Field Value
Type | Description |
---|---|
System.Drawing.Color |
Properties
CommandLinkBullet
Bullet point image with a size of 24x24 pixels. This image is used with command links. The default image is a white arrow on a blue bubble.
Declaration
public static Image CommandLinkBullet { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Image |
CommandLinkCheck
Checkmark image with a size of 24x24 pixels. This image can optionally be used with command links. The default image is a white checkmark on a green bubble.
Declaration
public static Image CommandLinkCheck { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Image |
FormBoldFont
Declaration
public static Font FormBoldFont { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Font |
FormFont
Default Font to be used for all Forms.
Declaration
public static Font FormFont { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Font |
Remarks
When setting the default value for this property, an attempt is made to determine the system default font, which is either "Segoe UI" or "Tahoma". The default size is 8 pt.
HeadingTextFont
The Font to be used for the bigger head lines and main instruction to be shown at the top of a Form.
Declaration
public static Font HeadingTextFont { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Font |
Remarks
The default heading font is a bold style variant of the FormFont at 12pt.
MainInstructionFont
Declaration
public static Font MainInstructionFont { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Font |
SubHeadingTextFont
Declaration
public static Font SubHeadingTextFont { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Font |