Files
DP44/Common/DTS.Common/.svn/pristine/77/778ca949309825dfed07ead49d11c7846ca3408e.svn-base
2026-04-17 14:55:32 -04:00

30 lines
1.1 KiB
Plaintext

namespace DTS.Common.RibbonControl
{
/// <summary>
/// Event arguments for the <see cref="RibbonControlSelectionChanged">TabControlSelectionChanged</see> event.
/// </summary>
public class RibbonControlSelectionEventArgs
{
/// <summary>
/// Gets the tab control operation type such as AddedItem or RemovedItem.
/// </summary>
public RibbonControlOperation 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 RibbonControlSelectionEventArgs(RibbonControlOperation operation, object item)
{
Operation = operation;
Item = item;
}
}
}