Skip to main content

Avalonia.Platform Namespace

Classes

AssetLoaderLoads assets compiled into the application binary.
KnownPlatformGraphicsExternalImageHandleTypesDescribes various GPU memory handle types that are currently supported by Avalonia graphics backends
KnownPlatformGraphicsExternalSemaphoreHandleTypesDescribes various GPU semaphore handle types that are currently supported by Avalonia graphics backends
LockedFramebuffer 
OptionalFeatureProviderExtensions 
PixelFormats 
PlatformColorValuesInformation about current system color values, including information about dark mode and accent colors.
PlatformGraphicsContextLostException 
PlatformGraphicsDeviceAdapterDescription 
PlatformHandleRepresents a platform-specific handle.
ScopedResource(T) 
ScreenRepresents a single display screen.
StandardAssetLoaderLoads assets compiled into the application binary.
Unstable.

Structures

PixelFormat 
PlatformGraphicsExternalImageProperties 

Interfaces

IApplicationPlatformEvents
Unstable.
IAssetLoaderLoads assets compiled into the application binary.
Unstable.
IExternalObjectsRenderInterfaceContextFeature
Unstable.
IGeometryContextDescribes a geometry using drawing commands.
IGeometryContext2 
ILockedFramebuffer 
IMacOSTopLevelPlatformHandle
Unstable.
INativePlatformHandleSurface
Unstable.
IOptionalFeatureProvider 
IPlatformBehaviorInhibitionAllows to inhibit platform specific behavior.
IPlatformGraphics
Unstable.
IPlatformGraphicsContext
Unstable.
IPlatformGraphicsReadyStateFeature
Unstable.
IPlatformGraphicsWithFeatures
Unstable.
IPlatformHandleRepresents a platform-specific handle.
IPlatformSettingsThe IPlatformSettings interface represents a contract for accessing platform-specific settings and information. Some of these settings might be changed by used globally in the OS in runtime.
Not client implementable.
IScopedResource(T) 

Enumerations

AlphaFormatDescribes how to interpret the alpha component of a pixel.
ColorContrastPreferenceSystem high contrast preference.
ExtendClientAreaChromeHintsHint for Window Chrome when ClientArea is Extended.
FormFactorType 
PlatformGraphicsExternalImageFormat 
PlatformThemeVariantSystem theme variant or mode.
ScreenOrientationDescribes the orientation of a screen.