menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class CloseButtonEventArgs - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class CloseButtonEventArgs

    Class Represents the close button event args

    Inheritance
    System.Object
    System.EventArgs
    CloseButtonEventArgs
    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.Tools.Controls
    Assembly: Syncfusion.Tools.Wpf.dll
    Syntax
    public class CloseButtonEventArgs : EventArgs

    Constructors

    CloseButtonEventArgs(UIElement)

    Initializes a new instance of the CloseButtonEventArgs class.

    Declaration
    public CloseButtonEventArgs(UIElement targetItem)
    Parameters
    Type Name Description
    System.Windows.UIElement targetItem

    The target item.

    Properties

    Cancel

    Gets or Sets the Cancel value

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

    true if cancel; otherwise, false.

    TargetItem

    Gets or sets the target item.

    Declaration
    public UIElement TargetItem { get; set; }
    Property Value
    Type Description
    System.Windows.UIElement

    The target item.

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