{"title":"StyleSheets Property","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/properties/devenv-stylesheets-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-stylesheets-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-stylesheets-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":"Specifies the list of stylesheets to include in the control add-in.","date":"2026-10-01","meta":{"topic":"reference"},"outline":[{"level":2,"title":"Applies to","slug":"applies-to","at":250,"chars":30},{"level":2,"title":"Property Values","slug":"property-values","at":280,"chars":378},{"level":2,"title":"Remarks","slug":"remarks","at":658,"chars":757},{"level":2,"title":"Example","slug":"example","at":1415,"chars":143},{"level":2,"title":"Related information","slug":"related-information","at":1558,"chars":94}],"text":"> Version: _Available or changed with runtime version 1.0._\nSpecifies the list of stylesheets to include in the control add-in. The stylesheets could be local files in the package or references to external files using the http or the https protocol.\n## Applies to\n Control Add In\n## Property Values\nA list of comma-separated strings that represent paths to stylesheet files. The default is blank, with no stylesheets being used by the control add-in.\nWith runtime 11, you can specify multiple files within the same path string by using a combination of a valid literal path and wildcard characters (* and ?). However, it doesn't support regular expressions.\n## Remarks\nThis property is optional and used to specify stylesheets that apply to the control add-in visuals. Stylesheets can be either external resources referenced using a URL or can be embedded within the extension. Embedded stylesheets must be added to the extension project folder in Visual Studio Code and referenced using a relative path. Stylesheets are loaded immediately when the control add-in is initialized.\n> IMPORTANT\n> In extensions for Business Central online, don't reference font files in stylesheets, because the fonts won't display in client. Instead, do one of the following:\n > Reference the font files from some other source such as a public or private CDN.\n > Base64 encode the fonts and include the encoded fonts in the CSS file.\n## Example\n```al\nStylesheets = 'https://www.microsoft.com/stylesheets/colors.css',\n              'style.css',\n              'styles/*.css;\n```\n## Related information\ndevenv-properties\nControl Add-In Object<../devenv-control-addin-object>"}