This commit is contained in:
2026-04-17 14:55:32 -04:00
commit bc3ac1d4c9
18017 changed files with 4371742 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
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;
}
}
}