BrowserPlatformOptions Properties
Properties
AvaloniaServiceWorkerScope | If RegisterAvaloniaServiceWorker is enabled, it is possible to redefine scope for the worker. By default, current domain root is used as a scope. |
FrameworkAssetPathResolver | Defines paths where avalonia modules and service locator should be resolved. If null, default path resolved depending on the backend (browser or blazor) is used. |
PreferFileDialogPolyfill | Avalonia uses "native-file-system-adapter" polyfill for the file dialogs. If native implementation is available, by default it is used. This property forces polyfill to be always used. For more details, see https://github.com/jimmywarting/native-file-system-adapter#a-note-when-downloading-with-the-polyfilled-version. |
PreferManagedThreadDispatcher | Defines if Avalonia should create a controlled dispatcher loop on the web worker thread. If used only when WasmEnableThreads is set to true. Default value is true. |
RegisterAvaloniaServiceWorker | Defines if the service worker used by Avalonia should be registered. If registered, service worker can work as a save file picker fallback on the browsers that don't support native implementation. For more details, see https://github.com/jimmywarting/native-file-system-adapter#a-note-when-downloading-with-the-polyfilled-version. Unstable. |
RenderingMode | Gets or sets Avalonia rendering modes with fallbacks. The first element in the array has the highest priority. |