Table of Contents

Class MauiExtensions

Namespace
Alternet.Maui.Extensions
Assembly
Alternet.UI.Maui.dll

Provides extension methods for .NET MAUI components.

public static class MauiExtensions
Inheritance
MauiExtensions

Methods

Focus(GraphicsView, FocusState)

Attempts to set focus on the specified GraphicsView.

GetPlatformView(GraphicsView)

Retrieves the platform-specific view for the specified GraphicsView.

ToAlternet(SKMouseButton)

Converts a SKMouseButton to an MouseButton.

ToMaui(Color)

Converts an Color to a .NET MAUI color.

ToMaui(Font)

Converts an Font to a MAUI-compatible font.

ToRectD(Rect)

Converts a Rect to a RectD.

ToRectD(RectF)

Converts a RectF to a RectD.