In This Article

StringConverters Class

Provides a set of useful Avalonia.Data.Converters.IValueConverters for working with string values.

public static class StringConverters
Inheritance:
object object

Properties

ToLowerInvariant

A value converter that returns the input object converted to a lowercase string using invariant culture.

public static IValueConverter ToLowerInvariant { get; }

Property Value

IValueConverter

ToPercent

A value converter that returns the input number (double or int) converted to a percent string.

public static IValueConverter ToPercent { get; }

Property Value

IValueConverter

ToUpperInvariant

A value converter that returns the input object converted to an uppercase string using invariant culture.

public static IValueConverter ToUpperInvariant { get; }

Property Value

IValueConverter

Inherited Members