Skip to main content

Content Property

Gets or sets any content displayed in the ColorPicker's preview content area.

Definition​

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

[ContentAttribute]
[DependsOnAttribute("ContentTemplate")]
public Object? Content { get; set; }

Property Value​

Object

Remarks​

By default this should show a preview of the currently selected color.

See Also​

Reference​

ColorPicker Class
Avalonia.Controls Namespace