using Ghost.Editor.Core.Controls.Internal.Docking;
namespace Ghost.Editor.View.Controls;
///
/// Event arguments for the TabTornOff event.
///
public sealed class TabTornOffEventArgs : EventArgs
{
///
/// Gets the content of the tab being torn off.
///
public object TabContent { get; }
///
/// Gets the source node the tab is being torn off from.
///
public DockPanelNode SourceNode { get; }
public TabTornOffEventArgs(object tabContent, DockPanelNode sourceNode)
{
TabContent = tabContent;
SourceNode = sourceNode;
}
}