// --------------------------------------------------------------------------------------------------------------------
//
// Copyright (c) 2020 OxyPlot contributors
//
//
// Represents a control that displays a .
//
// --------------------------------------------------------------------------------------------------------------------
using Avalonia;
namespace OxyPlot.Avalonia
{
using global::Avalonia.Controls;
using global::Avalonia.Media;
using OxyPlot.Legends;
///
/// Represents a control that displays a .
///
/// This file contains dependency properties used for defining the Plot in XAML. These properties are only used when Model is null. In this case an internal PlotModel is created and the dependency properties are copied from the control to the internal Legend.
public partial class Legend : Control
{
///
/// Identifies the dependency property.
///
public static readonly StyledProperty IsLegendVisibleProperty = AvaloniaProperty.Register