Skip to main content

IsAlphaVisible Property

Gets or sets a value indicating whether the alpha component is visible in the Hex formatted text.

Definition

Namespace: Avalonia.Controls.Converters
Assembly: Avalonia.Controls.ColorPicker (in Avalonia.Controls.ColorPicker.dll)

public bool IsAlphaVisible { get; set; }

Property Value

Boolean

Remarks

When hidden the existing alpha component value is maintained. Also when hidden the user is still able to input an 8-digit number with alpha. Alpha will be processed but then removed when displayed. Because this property only controls whether alpha is displayed (and it is still processed regardless) it is termed 'Visible' instead of 'Enabled'.

See Also

Reference

ColorToHexConverter Class
Avalonia.Controls.Converters Namespace