Class ServerTypeBrushes
- Namespace
- McServerLauncher.ViewModels
- Assembly
- McServerLauncher.dll
The per-type badge colours, as brushes.
public static class ServerTypeBrushes
- Inheritance
-
ServerTypeBrushes
- Inherited Members
Remarks
The colours themselves now live in ServerTypeCatalog alongside everything else known about a type; this only turns them into Avalonia brushes and caches them, so the table stays free of any UI framework and cannot drift from the picker's colours.
Methods
For(ServerType)
Badge colour for a server type; unknown/future types fall back to grey.
public static IBrush For(ServerType type)
Parameters
typeServerType
Returns
- IBrush