namespace DTS.Common.RibbonControl
{
///
/// Event arguments for the TabControlSelectionChanged event.
///
public class RibbonControlSelectionEventArgs
{
///
/// Gets the tab control operation type such as AddedItem or RemovedItem.
///
public RibbonControlOperation Operation { get; private set; }
///
/// Gets the added or removed tab control's item.
///
public object Item { get; private set; }
///
/// Creates a new instance of the object.
///
/// The tab control operation type such as AddedItem or RemovedItem.
/// The added or removed tab control's item.
public RibbonControlSelectionEventArgs(RibbonControlOperation operation, object item)
{
Operation = operation;
Item = item;
}
}
}