ColorToBrushConverter Class
Converts a Color to an IBrush.
Definition
Namespace: Avalonia.Markup.Xaml.Converters
Assembly: Avalonia.Markup.Xaml (in Avalonia.Markup.Xaml.dll)
- C#
- VB
- F#
public class ColorToBrushConverter : IValueConverter
Public Class ColorToBrushConverter
Implements IValueConverter
type ColorToBrushConverter =
class
interface IValueConverter
end
Inheritance | Object → ColorToBrushConverter |
Implements | IValueConverter |
Constructors
ColorToBrushConverter() | Initializes a new instance of the ColorToBrushConverter class |
Methods
Convert(Object, Type) | Converts a Color to an IBrush if the arguments are of the correct type. |
Convert(Object, Type, Object, CultureInfo) | Converts a Color to an IBrush if the arguments are of the correct type. |
ConvertBack(Object, Type) | Converts an ISolidColorBrush to a Color if the arguments are of the correct type. |
ConvertBack(Object, Type, Object, CultureInfo) | Converts an ISolidColorBrush to a Color if the arguments are of the correct type. |
Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object) |
Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
GetHashCode() | Serves as the default hash function. (Inherited from Object) |
GetType() | Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() | Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() | Returns a string that represents the current object. (Inherited from Object) |