fix(dock): complete tear-off flow and add rollback on failure
This commit is contained in:
17
src/Editor/Ghost.Editor/View/Controls/TabTornOffEventArgs.cs
Normal file
17
src/Editor/Ghost.Editor/View/Controls/TabTornOffEventArgs.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
namespace Ghost.Editor.View.Controls;
|
||||
|
||||
/// <summary>
|
||||
/// Event arguments for the TabTornOff event.
|
||||
/// </summary>
|
||||
public sealed class TabTornOffEventArgs : EventArgs
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the content of the tab being torn off.
|
||||
/// </summary>
|
||||
public object TabContent { get; }
|
||||
|
||||
public TabTornOffEventArgs(object tabContent)
|
||||
{
|
||||
TabContent = tabContent;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user