Table of Contents

Method SetAppearance

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

SetAppearance(ApplicationAppearance)

Updates the application's appearance settings.

public virtual PropertyUpdateResult SetAppearance(ApplicationAppearance appearance)

Parameters

appearance ApplicationAppearance

The new appearance settings to apply.

Returns

PropertyUpdateResult

A PropertyUpdateResult indicating the success or failure of the update. Returns Ok if the appearance was updated successfully.

Remarks

Use this method to apply custom appearance settings to the application, such as themes or color schemes.