Class CloseTabEventArgs
Presents event args with information about target tab item.
Inheritance
System.Object
CloseTabEventArgs
Namespace: Syncfusion.Windows.Tools.Controls
Assembly: Syncfusion.Tools.Wpf.dll
Syntax
public class CloseTabEventArgs : EventArgs
Constructors
CloseTabEventArgs(TabItemExt)
Initializes a new instance of the CloseTabEventArgs class.
Declaration
public CloseTabEventArgs(TabItemExt targetItem)
Parameters
Type | Name | Description |
---|---|---|
TabItemExt | targetItem | The target item. |
CloseTabEventArgs(TabItemExt, String)
Initializes a new instance of the CloseTabEventArgs class.
Declaration
public CloseTabEventArgs(TabItemExt targetItem, string parameter)
Parameters
Type | Name | Description |
---|---|---|
TabItemExt | targetItem | The target item. |
System.String | parameter | The parameter. |
Properties
Cancel
Gets or sets a value indicating whether to cancel the operation performed by close event.
Declaration
public bool Cancel { get; set; }
Property Value
Type |
---|
System.Boolean |
ClosingTabItems
Gets or sets the collection of TabItems to be closed based on Close, CloseAll and CloseAllButThis commands.
Declaration
public ObservableCollection<object> ClosingTabItems { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<System.Object> | The closing tab items collection. |
TargetTabItem
Gets or sets the TabItem which initiate the Close command. It hold the TabItem which is sender of close command.
Declaration
public TabItemExt TargetTabItem { get; set; }
Property Value
Type | Description |
---|---|
TabItemExt | The target tab item. |