Table of Contents

Method ToMaui

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

ToMaui(Color)

Converts an Color to a .NET MAUI color.

public static Color ToMaui(this Color color)

Parameters

color Color

The color to convert.

Returns

Color

A Color representing the converted color.

ToMaui(Font)

Converts an Font to a MAUI-compatible font.

public static IFont ToMaui(this Font font)

Parameters

font Font

The Font to convert.

Returns

IFont

A MAUI-compatible IFont.