Compartir a través de


Style Property

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

Applies To

  • Page field controls that contain text.

Note

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.

Property Value

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

Remarks

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

See Also

Tasks

How to: Style Field Text on a Page