PlatformServices class
The services the running platform offers. Only what a caller outside the framework has business with: the platform host itself stays internal, so its lifecycle, its window and dispatcher creation, and its DPI and font queries, which DpiHelper and the theme’s metrics already surface, do not travel out with them.
public sealed class PlatformServicesPublic Members
Section titled “Public Members”| name | description |
|---|---|
| Clipboard { get; } | Reads and writes the system clipboard. Null where the platform offers none. |
| FileDialog { get; } | Shows the platform’s file dialogs. Null where the platform offers none. |
| MessageBox { get; } | Shows the platform’s message boxes. Null where the platform offers none. |
| ShellIconProvider { get; } | The shell’s file-type icons. Never null: a platform without them answers with nothing for every icon, so a caller draws its own without having to ask whether the service is there. |
See Also
Section titled “See Also”- namespace Aprillz.MewUI.Platform