init
This commit is contained in:
31
Common/DTS.CommonCore/Events/TabControlSelectionEventArgs.cs
Normal file
31
Common/DTS.CommonCore/Events/TabControlSelectionEventArgs.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
using DTS.Common.Enums;
|
||||
|
||||
namespace DTS.Common.Events
|
||||
{
|
||||
/// <summary>
|
||||
/// Event arguments for the <see cref="TabControlSelectionChanged">TabControlSelectionChanged</see> event.
|
||||
/// </summary>
|
||||
public class TabControlSelectionEventArgs
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the tab control operation type such as AddedItem or RemovedItem.
|
||||
/// </summary>
|
||||
public TabControlOperation Operation { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the added or removed tab control's item.
|
||||
/// </summary>
|
||||
public object Item { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new instance of the object.
|
||||
/// </summary>
|
||||
/// <param name="operation">The tab control operation type such as AddedItem or RemovedItem.</param>
|
||||
/// <param name="item">The added or removed tab control's item.</param>
|
||||
public TabControlSelectionEventArgs(TabControlOperation operation, object item)
|
||||
{
|
||||
Operation = operation;
|
||||
Item = item;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user