aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/SideChains/RealTimeGraphX/EventArguments/RangeChangedEventArgs.cs
blob: 6f46f63b6d4ab51808004e8c31d4e39efd4e2651 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RealTimeGraphX.EventArguments
{
    /// <summary>
    /// Represents a graph range change event arguments.
    /// </summary>
    /// <seealso cref="System.EventArgs" />
    public class RangeChangedEventArgs : EventArgs
    {
        /// <summary>
        /// Gets or sets the minimum.
        /// </summary>
        public GraphDataPointBase Minimum { get; set; }

        /// <summary>
        /// Gets or sets the maximum.
        /// </summary>
        public GraphDataPointBase Maximum { get; set; }

        /// <summary>
        /// Initializes a new instance of the <see cref="RangeChangedEventArgs"/> class.
        /// </summary>
        public RangeChangedEventArgs()
        {

        }

        /// <summary>
        /// Initializes a new instance of the <see cref="RangeChangedEventArgs"/> class.
        /// </summary>
        /// <param name="minimum">The minimum.</param>
        /// <param name="maximum">The maximum.</param>
        public RangeChangedEventArgs(GraphDataPointBase minimum, GraphDataPointBase maximum) : this()
        {
            Minimum = minimum;
            Maximum = maximum;
        }
    }
}