Note: This document is auto-generated by
scripts/generate_control_reference_docs.py. Do not edit manually.
Avalonia.Controls.ColorViewAvalonia.ControlsAvalonia.Controls.ColorPickersrc/Avalonia.Controls.ColorPicker/ColorView/ColorView.Properties.csTemplatedControlcontrolpublic static readonly StyledProperty<Color> ColorProperty = AvaloniaProperty.Register<ColorView, Color>( nameof(Color), Colors.White, defaultBindingMode: BindingMode.TwoWay, coerce: CoerceColor) ;public static readonly StyledProperty<ColorModel> ColorModelProperty = AvaloniaProperty.Register<ColorView, ColorModel>( nameof(ColorModel), ColorModel.Rgba);public static readonly StyledProperty<ColorSpectrumComponents> ColorSpectrumComponentsProperty = AvaloniaProperty.Register<ColorView, ColorSpectrumComponents>( nameof(ColorSpectrumComponents), ColorSpectrumComponents.HueSaturation);public static readonly StyledProperty<ColorSpectrumShape> ColorSpectrumShapeProperty = AvaloniaProperty.Register<ColorView, ColorSpectrumShape>( nameof(ColorSpectrumShape), ColorSpectrumShape.Box);public static readonly StyledProperty<AlphaComponentPosition> HexInputAlphaPositionProperty = AvaloniaProperty.Register<ColorView, AlphaComponentPosition>( nameof(HexInputAlphaPosition), AlphaComponentPosition.Leading);public static readonly StyledProperty<HsvColor> HsvColorProperty = AvaloniaProperty.Register<ColorView, HsvColor>( nameof(HsvColor), Colors.White.ToHsv(), defaultBindingMode: BindingMode.TwoWay, coerce: CoerceHsvColor);public static readonly StyledProperty<bool> IsAccentColorsVisibleProperty = AvaloniaProperty.Register<ColorView, bool>( nameof(IsAccentColorsVisible), true);public static readonly StyledProperty<bool> IsAlphaEnabledProperty = AvaloniaProperty.Register<ColorView, bool>( nameof(IsAlphaEnabled), true);public static readonly StyledProperty<bool> IsAlphaVisibleProperty = AvaloniaProperty.Register<ColorView, bool>( nameof(IsAlphaVisible), true);public static readonly StyledProperty<bool> IsColorComponentsVisibleProperty = AvaloniaProperty.Register<ColorView, bool>( nameof(IsColorComponentsVisible), true);public static readonly StyledProperty<bool> IsColorModelVisibleProperty = AvaloniaProperty.Register<ColorView, bool>( nameof(IsColorModelVisible), true);public static readonly StyledProperty<bool> IsColorPaletteVisibleProperty = AvaloniaProperty.Register<ColorView, bool>( nameof(IsColorPaletteVisible), true);public static readonly StyledProperty<bool> IsColorPreviewVisibleProperty = AvaloniaProperty.Register<ColorView, bool>( nameof(IsColorPreviewVisible), true);public static readonly StyledProperty<bool> IsColorSpectrumVisibleProperty = AvaloniaProperty.Register<ColorView, bool>( nameof(IsColorSpectrumVisible), true);public static readonly StyledProperty<bool> IsColorSpectrumSliderVisibleProperty = AvaloniaProperty.Register<ColorView, bool>( nameof(IsColorSpectrumSliderVisible), true);public static readonly StyledProperty<bool> IsComponentSliderVisibleProperty = AvaloniaProperty.Register<ColorView, bool>( nameof(IsComponentSliderVisible), true);<ColorView x:Name="SampleColorView" />
using Avalonia.Controls;
var control = new ColorView();