61 lines
2.1 KiB
Plaintext
61 lines
2.1 KiB
Plaintext
using System.ComponentModel;
|
|
using DTS.Common;
|
|
using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
|
|
|
|
namespace DTS.Viewer.GraphList.Model
|
|
{
|
|
//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("Information")]
|
|
[DisplayName("Id")]
|
|
[ReadOnly(true)]
|
|
[Description("This property is read only.")]
|
|
public int Id { get; set; }
|
|
|
|
[Category("Information")]
|
|
[DisplayName("Name")]
|
|
[ReadOnly(true)]
|
|
[Description("This property is read only.")]
|
|
public string Name { get; set; }
|
|
|
|
[Category("Information")]
|
|
[DisplayName("Description")]
|
|
[ReadOnly(true)]
|
|
[Description("This property uses a TextBox as the default editor.")]
|
|
public string Description { get; set; }
|
|
|
|
[Category("Parameters")]
|
|
[DisplayName("Filter")]
|
|
[Description("This property uses a TextBox as the default editor.")]
|
|
[ItemsSource(typeof(CFCFilterItemSource))]
|
|
public string Filter { get; set; }
|
|
|
|
[Category("Parameters")]
|
|
[DisplayName("Data Flag")]
|
|
[Description("This property uses a TextBox as the default editor.")]
|
|
public string DataFlag { get; set; }
|
|
|
|
[Category("Parameters")]
|
|
[DisplayName("Shift T0 (ms)")]
|
|
[Description("This property uses a TextBox as the default editor.")]
|
|
public double ShiftT0 { get; set; }
|
|
|
|
[Category("Parameters")]
|
|
[DisplayName("EU Multiplier")]
|
|
[Description("This property uses a TextBox as the default editor.")]
|
|
public double EuMultiplier { get; set; }
|
|
|
|
[Category("Parameters")]
|
|
[DisplayName("EU Offset")]
|
|
[Description("This property uses a TextBox as the default editor.")]
|
|
public double EuOffset { get; set; }
|
|
|
|
#endregion
|
|
}
|
|
}
|