48 lines
1.6 KiB
C#
48 lines
1.6 KiB
C#
using System.ComponentModel;
|
|
using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
|
|
|
|
namespace DTS.Common.Property
|
|
{
|
|
//http://brianlagunas.com/extended-wpf-toolkitthe-updated-propertygrid/
|
|
//https://wpftoolkit.codeplex.com/wikipage?title=PropertyGrid&referringTitle=Home
|
|
public class GraphPropertyObject
|
|
{
|
|
public GraphPropertyObject() { }
|
|
|
|
#region Display Properties
|
|
|
|
[Category("Action")]
|
|
[DisplayName("Description")]
|
|
[Description("This property uses a TextBox as the default editor.")]
|
|
public string Description { get; set; }
|
|
|
|
[Category("Action")]
|
|
[DisplayName("Filter")]
|
|
[Description("This property uses a TextBox as the default editor.")]
|
|
[ItemsSource(typeof(CFCFilterItemSource))]
|
|
public string Filter { get; set; }
|
|
|
|
[Category("Information")]
|
|
[DisplayName("Data Flag")]
|
|
[Description("This property uses a TextBox as the default editor.")]
|
|
public string DataFlag { get; set; }
|
|
|
|
[Category("Information")]
|
|
[DisplayName("Shift T0 (ms)")]
|
|
[Description("This property uses a TextBox as the default editor.")]
|
|
public double ShiftT0 { get; set; }
|
|
|
|
[Category("Information")]
|
|
[DisplayName("EU Multiplier")]
|
|
[Description("This property uses a TextBox as the default editor.")]
|
|
public double EuMultiplier { get; set; }
|
|
|
|
[Category("Information")]
|
|
[DisplayName("EU Offset")]
|
|
[Description("This property uses a TextBox as the default editor.")]
|
|
public double EuOffset { get; set; }
|
|
|
|
#endregion
|
|
}
|
|
}
|