menu

UWP

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

    Show / Hide Table of Contents

    Class ItemAddingEventArgs

    Provides data for the ItemAdding event.

    Inheritance
    System.Object
    DiagramEventArgs
    ItemAddingEventArgs
    Inherited Members
    DiagramEventArgs.Item
    DiagramEventArgs.OriginalSource
    Namespace: Syncfusion.UI.Xaml.Diagram
    Assembly: Syncfusion.SfDiagram.UWP.dll
    Syntax
    public class ItemAddingEventArgs : DiagramEventArgs

    Constructors

    ItemAddingEventArgs(Object, ItemSource)

    Initializes a new instance of the class.

    Declaration
    public ItemAddingEventArgs(object item, ItemSource source)
    Parameters
    Type Name Description
    System.Object item

    Represent the item that is about to be added.

    ItemSource source

    Represent the ItemSource of the item.

    Properties

    Cancel

    Gets or sets whether the addtion operation should be cancelled.

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

    Info

    Gets or sets a value to provide data for the clipboard operations.

    Declaration
    public CommandInfo Info { get; set; }
    Property Value
    Type
    CommandInfo
    Remarks

    This value is applicable only when the item is having a unique ID.

    ItemSource

    Gets the ItemSource of the item.

    Declaration
    public ItemSource ItemSource { get; }
    Property Value
    Type
    ItemSource

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved