Style Property

Sets a value that determines how text in a field on a page is formatted.

  • Page field controls that contain text.

Dd983743.note(en-us,NAV.70).gifNote
This property is not supported in Microsoft Dynamics NAV Web client or web applications that run on Microsoft Dynamics NAV Portal Framework for Microsoft SharePoint 2010. If the page is displayed in these display targets, the property is ignored.

The following table lists the values and their formatting.

Value Formatting

Standard

Standard

StandardAccent

Blue

Strong

Bold

Strong Accent

Blue + Bold

Attention

Red + Italic

AttentionAccent

Blue + Italic

Favorable

Bold + Green

Unfavorable

Bold + Italic + Red

Ambiguous

Orange

Subordinate

Grey

The Style property works together with the StyleExpr Property value to determine whether the field is formatted. If the StyleExpr Property evaluates to true, then the value of the field is formatted as specified by the Style property.

By default, the Style property is not set.

This property is not supported if one of the following data types is used for the SourceExpr of the field:

  • Code

  • Boolean

  • Binary

  • BLOB

  • GUID

  • RecordID

Show: