Files
DP44/DTS Viewer/DTS.Viewer.Modules/DTS.Viewer.GraphList/.svn/pristine/bd/bd2b5a7ad200b4530f980c379b1d16782ce6dbd3.svn-base

61 lines
2.1 KiB
Plaintext
Raw Permalink Normal View History

2026-04-17 14:55:32 -04:00
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
}
}