Skip to main content

AlphaComponentPosition Enum

Definition

Assembly:Avalonia.Controls.ColorPicker
Package:Avalonia.Controls.ColorPicker

Defines the position of a color's alpha component relative to all other components.

public enum AlphaComponentPosition

Inheritance: Enum -> AlphaComponentPosition

Fields

NameDescription
LeadingThe alpha component occurs before all other components.
TrailingThe alpha component occurs after all other components.

Leading Field

The alpha component occurs before all other components.

public Avalonia.Controls.AlphaComponentPosition Leading

Remarks

For example, this may indicate the #AARRGGBB or ARGB format which is the default format for XAML itself and the Color struct.

Trailing Field

The alpha component occurs after all other components.

public Avalonia.Controls.AlphaComponentPosition Trailing

Remarks

For example, this may indicate the #RRGGBBAA or RGBA format which is the default format for CSS.