{"title":"Visible Property","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/properties/devenv-visible-property/","by":"JOP-AL","license":"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/properties/devenv-visible-property, 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.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-visible-property","source":{"name":"Business Central developer and IT pro docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb","commit":"828b6ee72fcd75755627cd6011f3d20899217ab2","date":"2026-11-19"},"checked":"2026-11-19","description":"Sets whether to display the page or control.","date":"2026-10-01","meta":{"topic":"reference"},"outline":[{"level":2,"title":"Applies to","slug":"applies-to","at":105,"chars":240},{"level":2,"title":"Property value","slug":"property-value","at":345,"chars":136},{"level":2,"title":"Syntax","slug":"syntax","at":481,"chars":37},{"level":2,"title":"Remarks","slug":"remarks","at":518,"chars":2091},{"level":3,"title":"Dynamic visibility of controls","slug":"dynamic-visibility-of-controls","at":766,"chars":891},{"level":3,"title":"UI customization and visibility of controls","slug":"ui-customization-and-visibility-of-controls","at":1657,"chars":591},{"level":3,"title":"Loading of data","slug":"loading-of-data","at":2248,"chars":361},{"level":2,"title":"Related information","slug":"related-information","at":2609,"chars":80}],"text":"> Version: _Available or changed with runtime version 1.0._\nSets whether to display the page or control.\n## Applies to\n Page Label\n Page Field\n Page Group\n Page Part\n Page System Part\n Page Chart Part\n Page Action\n Page Action Group\n Page Action Ref\n Page Custom Action\n Page File Upload Action\n Page View\n Page Analysis View\n Page User Control\n## Property value\nTrue on pages if you want the page or control to be visible; otherwise, false on pages. The default is true on pages.\n## Syntax\n```al\nVisible = false;\n```\n## Remarks\nBecause this property also applies to containers, such as pages and subpages, if the Visible property for the container is set to false, then controls on the container are also not displayed, even if the Visible property is set to true.\n### Dynamic visibility of controls\n> NOTE\n> You can also use as property value a Boolean variable that evaluates to true or false. To use a variable for the Visible property, it must be set as a global page variable.\nOn pages, you use the Visible property to show or hide group, part, field, and action controls. You can show or hide the control either statically by setting the property to true or false, or dynamically by using a Boolean variable or a Boolean field on the page. The Boolean field on the page can be either a true/false Boolean or a Boolean expression, such as \"Credit Limit > Sales YTD\".\n> NOTE\n> The dynamic options are only possible for group, part, and action controls.\nUsing a variable for field and action controls requires that the variable be resolved by the ../triggers-auto/page/devenv-oninit-page-trigger or ../triggers-auto/page/devenv-onopenpage-page-trigger.\n### UI customization and visibility of controls\nWhen a part, field, action, or view is hidden by setting the Visible property, users are able to access and display that control again using personalization and role customization features in the user interface. The Visible property is not a replacement for user permissions or the application of proper security practices.\nWhen the Visible property is specified by a Boolean variable, users can choose to hide the control while the Boolean evaluates to true, but cannot forcibly show the control while the control Boolean evaluates to false.\n### Loading of data\nEven if a field on page is hidden by setting the Visible property, the data behind the field will still be loaded.\n> NOTE\n> Hidden record fields on a page that calculates data such as FlowFields can lead to performance issues even if they are hidden. For more information see ../../performance/performance-developer#writing-efficient-pages.\n## Related information\ndevenv-properties\n../../performance/performance-developer"}