Converters Namespace
Namespace Avalonia.Controls.Converters
Types
- ColorToDisplayNameConverter - Gets the approximated display name for the color.
- ColorToHexConverter - Converts a color to a hex string and vice versa.
- CornerRadiusFilterConverter - Converts an existing CornerRadius struct to a new CornerRadius struct, with filters applied to extract only the specified corners, leaving the others set to 0.
- CornerRadiusToDoubleConverter - Converts one corner of a Avalonia.CornerRadius to its double value.
- Corners - Defines constants that specify one or more corners of a Avalonia.CornerRadius.
- DoNothingForNullConverter - Converter that will do nothing (not update bound values) when a null value is encountered. This converter enables binding nullable with non-nullable properties in some scenarios.
- EnumToBoolConverter - Converter to convert an enum value to bool by comparing to the given parameter. Both value and parameter must be of the same enum type.
- IndentConverter - Converts an integer indentation level to a Avalonia.Thickness value for use in hierarchical data displays.
- MarginMultiplierConverter
- MenuScrollingVisibilityConverter
- PlatformKeyGestureConverter - Converts a Avalonia.Input.KeyGesture to a string, formatting it according to the current platform's style guidelines.
- StringFormatConverter - Calls string.Format(string,object[]) on the passed in values, where the first element in the list is the string, and everything after it is passed into the object array in order.
- ToBrushConverter - Converts the given value into an Avalonia.Media.IBrush when a conversion is possible.
- ToColorConverter - Converts the given value into a Avalonia.Media.Color when a conversion is possible.
- TreeViewItemIndentConverter