API Reference > imodeljs-frontend > Views > DisplayStyleState > viewFlags viewFlags Accessor The ViewFlags associated with this style. get: ViewFlags note If this style is associated with a ViewState attached to a Viewport, use ViewState.viewFlags to modify the ViewFlags to ensure the changes are promptly visible on the screen. Returns - ViewFlags Setter The ViewFlags associated with this style. set(flags: ViewFlags): void note If this style is associated with a ViewState attached to a Viewport, use ViewState.viewFlags to modify the ViewFlags to ensure the changes are promptly visible on the screen. Parameter Type Description flags ViewFlags Returns - void Defined in core/frontend/src/DisplayStyleState.ts Line 240 Last Updated: 13 June, 2024