-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathRecentItemClickEventArgs.cs
More file actions
47 lines (35 loc) · 945 Bytes
/
RecentItemClickEventArgs.cs
File metadata and controls
47 lines (35 loc) · 945 Bytes
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
45
46
47
namespace Menees.Windows.Forms
{
#region Using Directives
using System;
using System.Collections.Generic;
using System.ComponentModel;
#endregion
/// <summary>
/// The arguments for the <see cref="RecentItemList"/>'s <see cref="RecentItemList.ItemClick"/> event.
/// </summary>
public sealed class RecentItemClickEventArgs : EventArgs
{
#region Private Data Members
private readonly string item;
private readonly IEnumerable<string>? values;
#endregion
#region Constructors
internal RecentItemClickEventArgs(string item, IEnumerable<string>? values)
{
this.item = item;
this.values = values;
}
#endregion
#region Public Properties
/// <summary>
/// Gets the item that was clicked.
/// </summary>
public string Item => this.item;
/// <summary>
/// Gets the values associated with the clicked item.
/// </summary>
public IEnumerable<string>? Values => this.values;
#endregion
}
}