BrowserPlatformOptions Class
Definition
Namespace: Avalonia.Browser
Assembly: Avalonia.Browser (in Avalonia.Browser.dll)
- C#
- VB
- F#
public class BrowserPlatformOptions : IEquatable<BrowserPlatformOptions>
Public Class BrowserPlatformOptions
Implements IEquatable(Of BrowserPlatformOptions)
type BrowserPlatformOptions =
class
interface IEquatable<BrowserPlatformOptions>
end
Inheritance | Object → BrowserPlatformOptions |
Implements | IEquatable(BrowserPlatformOptions) |
Constructors
BrowserPlatformOptions() | Initializes a new instance of the BrowserPlatformOptions class |
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. |
Methods
Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
GetType() | Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() | Creates a shallow copy of the current Object. (Inherited from Object) |