# PageStyle option type
> Version: _Available or changed with runtime version 14.0._
Represents the different kinds of styles that can be applied to page controls.
## Members
Member|Description
None|None
Standard|Standard
StandardAccent|Blue
Strong|Bold
StrongAccent|Blue + Bold
Attention|Red + Italic
AttentionAccent|Blue + Italic
Favorable|Bold + Green
Unfavorable|Bold + Italic + Red
Ambiguous|Yellow
Subordinate|Grey
## Example
The PageStyle option type can be used to get the valid values for ../../properties/devenv-styleexpr-property, which is set on page controls.
```al
layout
{
    area(Content)
    {
        field(Name; rec.Name)
        {
            StyleExpr = nameStyle;
        }
    }
}

var nameStyle : Text;

local procedure ChangeNameStyle(newPageStyle : PageStyle)
begin
    nameStyle := format(newPageStyle);
end;
```
## Related information
Getting Started with AL<../../devenv-get-started>
Developing Extensions<../../devenv-dev-overview>

Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/pagestyle/pagestyle-option, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact. https://jonas-paprotka.de/docs/dev-itpro/developer/methods-auto/pagestyle/pagestyle-option/
