/Main/src/DynamicDataDisplay/Charts/Legend items/LegendItem.cs

# · C# · 33 lines · 19 code · 3 blank · 11 comment · 0 complexity · 9ad1d7f069c5dee149cf2929359eecde MD5 · raw file

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Windows.Controls;
  6. using System.Windows;
  7. using System.Windows.Media.Animation;
  8. using System.ComponentModel;
  9. namespace Microsoft.Research.DynamicDataDisplay.Charts
  10. {
  11. public class LegendItem : Control
  12. {
  13. static LegendItem()
  14. {
  15. var thisType = typeof(LegendItem);
  16. DefaultStyleKeyProperty.OverrideMetadata(thisType, new FrameworkPropertyMetadata(thisType));
  17. }
  18. //public object VisualContent
  19. //{
  20. // get { return NewLegend.GetVisualContent(this); }
  21. // set { NewLegend.SetVisualContent(this, value); }
  22. //}
  23. //[Bindable(true)]
  24. //public object Description
  25. //{
  26. // get { return NewLegend.GetDescription(this); }
  27. // set { NewLegend.SetDescription(this, value); }
  28. //}
  29. }
  30. }