IsAlphaVisible Property
Gets or sets a value indicating whether the alpha component is visible and rendered. When false, this ensures that the gradient is always visible and never transparent regardless of the actual color. This property is ignored when the alpha component itself is being displayed.
Definition
Namespace: Avalonia.Controls.Primitives
Assembly: Avalonia.Controls.ColorPicker (in Avalonia.Controls.ColorPicker.dll)
- C#
- VB
- F#
public bool IsAlphaVisible { get; set; }
Public Property IsAlphaVisible As Boolean
Get
Set
member IsAlphaVisible : bool with get, set
Property Value
BooleanRemarks
Setting to false means the alpha component is always forced to maximum for components other than ColorComponent during rendering. This doesn't change the value of the alpha component in the color – it is only for display.