Note: This document is auto-generated by
scripts/generate_control_reference_docs.py. Do not edit manually.
Avalonia.Controls.Primitives.ColorPreviewerAvalonia.Controls.PrimitivesAvalonia.Controls.ColorPickersrc/Avalonia.Controls.ColorPicker/ColorPreviewer/ColorPreviewer.Properties.csTemplatedControlcontrolpublic static readonly StyledProperty<HsvColor> HsvColorProperty = AvaloniaProperty.Register<ColorPreviewer, HsvColor>( nameof(HsvColor), Colors.Transparent.ToHsv(), defaultBindingMode: BindingMode.TwoWay);public static readonly StyledProperty<bool> IsAccentColorsVisibleProperty = AvaloniaProperty.Register<ColorPreviewer, bool>( nameof(IsAccentColorsVisible), true);public HsvColor HsvColor {public bool IsAccentColorsVisible {public event EventHandler<ColorChangedEventArgs>? ColorChanged;public ColorPreviewer() : base() {<ColorPreviewer x:Name="SampleColorPreviewer" />
using Avalonia.Controls.Primitives;
var control = new ColorPreviewer();