Property Type: Static
Applies to the following properties:
Property | Default Value | Hierarchical Reference |
---|---|---|
Background Color | Takes the color of the user form the control is added to. | ControlName.BackgroundColor |
Caption Color | ControlText | ControlName.CaptionColor |
Grid Line Color | LightGray | ControlName.GridLineColor |
Header Background Color | Gainsboro | ControlName.HeaderBackgroundColor |
Header Text Color | ControlText | ControlName.HeaderTextColor |
Hover Color | Red | ControlName.HoverColor |
Input Background Color | White | ControlName.InputBackgroundColor |
List Item Color | ControlText | ControlName.ListItemColor |
Loading Progress Bar Color | ControlText | ControlName.LoadingProgressBarColor |
Option Item Color | ControlText | ControlName.OptionItemColor |
Row Hover Background Color | WhiteSmoke | ControlName.RowHoverBackgroundColor |
Row Hover Text Color | ControlText | ControlName.RowHoverTextColor |
Selected Row Background Color | DodgerBlue | ControlName.SelectedRowBackgroundColor |
Selected Row Text Color | White | ControlName.SelectedRowTextColor |
Text Color | Blue (Hyperlink), ControlText(All other controls) | ControlName.TextColor |
Unit Color | ControlText | ControlName.UnitColor |
The default background color of all controls is set to the same value as the background color of the user form they exist on.
Colors selected from the System tab (see image below), of the color chooser, may not display exactly as shown in the Form Designer when a form is viewed in a browser.
System color mapping occurs server side which means if these colors are used, the server theme colors will be sent down to the client.
System colors defined in CSS2 are very unreliable, and indeed, deprecated in CSS 2.1.
A web system color can be forced on the browser by prefixing the system color name with "!", in a rule, for example the rule:
="!ActiveBorder"
This will cause the system color ActiveBorder to be sent all the way to the browser.
We strongly recommend using hexadecimal values or colors selected from the Web tab of the color chooser for the Web.
Ensure the property is a static property (the gray orb will be displayed alongside the property name)
The default value of the static property can be changed by one of the following methods:
Color Property Value (static) | Result |
---|---|
White | Changes the color of the control to white |
Transparent | Changes the color of the control to be transparent |
#644B47 | Changes the color of the control to be the color of the hexadecimal value #644B47 |
A rule can also be built for this property by changing the type to dynamic.
See How To: Change A Static Property To A Dynamic Property.
Color Property Value (dynamic) | Result |
---|---|
ColorHex(56,129,205,255) | Changes the color of the control to be the hexadecimal equivalent of the RGB and Opacity values 56, 129, 205, 255. |
ColorHex(RedReturn, GreenReturn, BlueReturn, OpacityReturn) | Changes the color of the control to be the hexadecimal equivalent of the RGB and Opacity values coming from the corresponding controls. |
Value set in Form Designer. Static properties can be made Dynamic by double clicking the gray radio button.