In This Article

ActiproSoftware.UI.Avalonia.Controls.Converters Namespace

Classes

BorderChildClipConverter

A multi-value converter that can be applied to a Border.Child element's Clip property to ensure the child element is properly clipped based on the Border.CornerRadius value.

ColorOpacityConverter

A value converter that applies an opacity to a given color. Values can be specified as a Avalonia.Media.Color, UIColor, Avalonia.Media.HslColor, Avalonia.Media.HsvColor, or any string that can be parsed by Parse(string).

ColorPickerHexTextConverter

A value converter that can format the hex text for a ColorPicker.

ComparisonConverter

A value converter that applies comparison logic on the value being converted.

IconControlConverter

A value converter that converts a value to a Avalonia.Controls.ContentControl that uses an IconPresenter for presenting the value.

ImageControlConverter

A value converter that converts an Avalonia.Media.IImage to an Avalonia.Controls.Image control instance, commonly used in Avalonia.Controls.MenuItem.Avalonia.Controls.MenuItem.Icon property bindings.

ImageKeyToImageSourceConverter

A value converter that uses an ImageProvider to lookup an Avalonia.Media.IImage associated with a specified key.

MarkdownDocumentConverter

A value converter that takes basic Markdown content and creates a Avalonia.Controls.Control to display it.

MathConverter

A value converter that can perform basic mathematic calculations.

StringConverters

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

ThicknessConverter

A value converter that can filter out Avalonia.Thickness sizes.

UserPromptUIButtonTextConverter

A value converter that translates a MessageBoxResult into the equivalent text which can describe that button in a user interface dialog.

WindowIconConverter

A value converter that converts a value to a Avalonia.Controls.WindowIcon that uses an IconPresenter for defining the icon bitmap. An optional Avalonia.Controls.Templates.IDataTemplate for the icon can be passed as the converter parameter, otherwise the default data template will be used.

Enums

ComparisonConverterOperator

Specifies the operator logic to apply in a ComparisonConverter.