alexa
menu

WPF

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

    Show / Hide Table of Contents

    Class TabMergePreviewEventArgs

    Provides event data for the PreviewMerge event, allowing handlers to validate or cancel an incoming tab merge operation.

    Inheritance
    System.Object
    System.EventArgs
    TabMergePreviewEventArgs
    Inherited Members
    System.EventArgs.Empty
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Windows.Controls
    Assembly: Syncfusion.SfChromelessWindow.Wpf.dll
    Syntax
    public sealed class TabMergePreviewEventArgs : EventArgs

    Constructors

    TabMergePreviewEventArgs(Object, SfTabControl, SfTabControl)

    Initializes a new instance of the MergePreviewEventArgs class.

    Declaration
    public TabMergePreviewEventArgs(object draggedItem, SfTabControl source, SfTabControl target)
    Parameters
    Type Name Description
    System.Object draggedItem
    SfTabControl source
    SfTabControl target

    Properties

    Allow

    Gets or sets a value indicating whether the merge should be allowed. Set to false to cancel the merge. Default is true.

    Declaration
    public bool Allow { get; set; }
    Property Value
    Type
    System.Boolean

    DraggedItem

    Gets the item being dragged.

    Declaration
    public object DraggedItem { get; }
    Property Value
    Type
    System.Object

    ResultingItem

    Gets or sets the item to be inserted into the target. If set, this object will be inserted instead of the original DraggedItem.

    Declaration
    public object ResultingItem { get; set; }
    Property Value
    Type
    System.Object

    SourceControl

    Gets the source control where the drag originated.

    Declaration
    public SfTabControl SourceControl { get; }
    Property Value
    Type
    SfTabControl

    TargetControl

    Gets the target control that will receive the item if allowed.

    Declaration
    public SfTabControl TargetControl { get; }
    Property Value
    Type
    SfTabControl
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved