9,334
edits
Line 54: | Line 54: | ||
* '''Name''' – Name of the style. | * '''Name''' – Name of the style. | ||
* ''' | * '''Vertical alignment''' – Align the text to the top side of the cell, the bottom side, or the middle of the cell. | ||
* '''Horizontal alignment''' – Aligns the text to the left side of the cell, the right side, or the middle of the cell. | |||
* ''' | |||
* '''Format string''' – You can format the way the field data is represented, e.g., you can enter a format string in the way “Personal: {0}” where Personal: is a static text, and the field data is entered where the element {0} is. | * '''Format string''' – You can format the way the field data is represented, e.g., you can enter a format string in the way “Personal: {0}” where Personal: is a static text, and the field data is entered where the element {0} is. | ||
:: You can learn more about FormatString in [https://docs.microsoft.com/en-us/dotnet/api/system.string.format?view=net-6.0 Microsoft documentation]. See also [[Formatting strings in rules]] for inspiration. | :: You can learn more about FormatString in [https://docs.microsoft.com/en-us/dotnet/api/system.string.format?view=net-6.0 Microsoft documentation]. See also [[Formatting strings in rules]] for inspiration. | ||
* '''Font | * '''Font size''', '''Decoration''', '''Font name''' - Specify the font. | ||
* '''Auto height''' – Adjusts the row’s height to fit the field in case the field element in designer is smaller than the font. | * '''Auto height''' – Adjusts the row’s height to fit the field in case the field element in designer is smaller than the font. | ||
* '''Ellipsis position''' – When a text string does not fit on the screen, it displays an ellipsis (...), indicating that the text is longer than what can be displayed. Configure the position of this ellipsis in the text. | * '''Ellipsis position''' – When a text string does not fit on the screen, it displays an ellipsis (...), indicating that the text is longer than what can be displayed. Configure the position of this ellipsis in the text. | ||
* '''Text color''' – Color of the foreground element – in this case, it's the text (#AARRGGBB – AA = alpha/transparency, RR = red channel, GG = green channel, BB = blue channel). | |||
* '''Background color''' – Color of the field’s background (color of the cell). | |||
=== Tricks === | === Tricks === |