WPF

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class CloseTabEventArgs

    Show / Hide Table of Contents

    Class CloseTabEventArgs

    Presents event args with information about target tab item.

    Inheritance
    System.Object
    System.EventArgs
    CloseTabEventArgs
    Inherited Members
    System.EventArgs.Empty
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    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 Description
    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.

    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved