All the controls missing in WPF. Over 1 million downloads.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.2 KiB

// (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
{
/// <summary>
/// Represents an item used by a Series in the Legend of a Chart.
/// </summary>
/// <QualityBand>Preview</QualityBand>
public class LegendItem : ContentControl
{
/// <summary>
/// Gets or sets the owner of the LegendItem.
/// </summary>
public object Owner { get; set; }
#if !SILVERLIGHT
/// <summary>
/// Initializes the static members of the LegendItem class.
/// </summary>
static LegendItem()
{
DefaultStyleKeyProperty.OverrideMetadata(typeof(LegendItem), new FrameworkPropertyMetadata(typeof(LegendItem)));
}
#endif
/// <summary>
/// Initializes a new instance of the LegendItem class.
/// </summary>
public LegendItem()
{
#if SILVERLIGHT
this.DefaultStyleKey = typeof(LegendItem);
#endif
}
}
}