using System.Windows.Controls;
namespace Microsoft.Research.DynamicDataDisplay
{
///
/// is a base class for item in legend, that represents some chart.
///
public abstract class LegendItem : ContentControl
{
///
/// Initializes a new instance of the class.
///
protected LegendItem() { }
///
/// Initializes a new instance of the class.
///
/// The description.
protected LegendItem(Description description)
{
Description = description;
}
private Description description;
///
/// Gets or sets the description.
///
/// The description.
public Description Description
{
get { return description; }
set
{
description = value;
Content = description;
}
}
}
}