AccentColorConverter Class
Creates an accent color for a given base color value and step parameter.
Definition
Namespace: Avalonia.Controls.Primitives.Converters
Assembly: Avalonia.Controls.ColorPicker (in Avalonia.Controls.ColorPicker.dll)
- C#
- VB
- F#
public class AccentColorConverter : IValueConverter
Public Class AccentColorConverter
Implements IValueConverter
type AccentColorConverter =
class
interface IValueConverter
end
Inheritance | Object → AccentColorConverter |
Implements | IValueConverter |
Remarks
This is a highly-specialized converter for the color picker.
Constructors
AccentColorConverter() | Initializes a new instance of the AccentColorConverter class |
Methods
Convert(Object, Type, Object, CultureInfo) | Converts a value. |
ConvertBack(Object, Type, Object, CultureInfo) | Converts a value. |
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) |
GetAccent(HsvColor, Int32) | This does not account for perceptual differences and also does not match with system accent color calculation. |
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) |
Fields
ValueDelta | The amount to change the Value component for each accent color step. |