30 lines
1.1 KiB
C#
30 lines
1.1 KiB
C#
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;
|
|
}
|
|
}
|
|
}
|