IsPerceptive Property
Gets or sets a value indicating whether the slider adapts rendering to improve user-perception over exactness.
Definition
Namespace: Avalonia.Controls.Primitives
Assembly: Avalonia.Controls.ColorPicker (in Avalonia.Controls.ColorPicker.dll)
- C#
- VB
- F#
public bool IsPerceptive { get; set; }
Public Property IsPerceptive As Boolean
Get
Set
member IsPerceptive : bool with get, set
Property Value
BooleanRemarks
When true in the HSVA color model, this ensures that the gradient is always visible and never washed out regardless of the actual color. When true in the RGBA color model, this ensures the gradient always appears as red, green or blue.
For example, with Hue in the HSVA color model, the Saturation and Value components are always forced to maximum values during rendering. In the RGBA color model, all components other than ColorComponent are forced to minimum values during rendering.
Note this property will only adjust components other than ColorComponent during rendering. This also doesn't change the values of any components in the actual color – it is only for display.