PlatformSettings Property
Represents a contract for accessing global platform-specific settings.
Definition
Namespace: Avalonia
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
public IPlatformSettings? PlatformSettings { get; }
Public ReadOnly Property PlatformSettings As IPlatformSettings
Get
member PlatformSettings : IPlatformSettings with get
Property Value
IPlatformSettingsRemarks
PlatformSettings can be null only if application wasn't initialized yet. TopLevel's PlatformSettings is an equivalent API which should always be preferred over a global one, as specific top levels might have different settings set-up.