// (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved.
namespace System.Windows.Controls.DataVisualization.Charting
{
///
/// Represents an item used by a Series in the Legend of a Chart.
///
/// Preview
public class LegendItem : ContentControl
{
///
/// Gets or sets the owner of the LegendItem.
///
public object Owner { get; set; }
#if !SILVERLIGHT
///
/// Initializes the static members of the LegendItem class.
///
static LegendItem()
{
DefaultStyleKeyProperty.OverrideMetadata(typeof(LegendItem), new FrameworkPropertyMetadata(typeof(LegendItem)));
}
#endif
///
/// Initializes a new instance of the LegendItem class.
///
public LegendItem()
{
#if SILVERLIGHT
this.DefaultStyleKey = typeof(LegendItem);
#endif
}
}
}