New to Telerik UI for .NET MAUIStart a free 30-day trial

Provides utility methods for working with FontImageSource fallback colors.

Definition

Namespace:Telerik.Maui.Controls

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public static class FontImageSourceUtils

Inheritance: objectFontImageSourceUtils

Fields

FallbackColorProperty

BindableProperty

Identifies the FallbackColor attached property.

C#
public static readonly BindableProperty FallbackColorProperty

Methods

Gets the fallback color for the specified bindable object.

C#
public static Color GetFallbackColor(BindableObject bindable)
Parameters:bindableBindableObject

The bindable object.

Returns:

Color

The fallback color.

Sets the fallback color for the specified bindable object.

C#
public static void SetFallbackColor(BindableObject bindable, Color value)
Parameters:bindableBindableObject

The bindable object.

valueColor

The fallback color to set.