Edit

Share via


TokenItemAddingEventArgs Class

Definition

Event arguments for TokenItemAdding event.

public class TokenItemAddingEventArgs : Microsoft.Toolkit.Uwp.Deferred.DeferredCancelEventArgs
public class TokenItemAddingEventArgs : Microsoft.Toolkit.Deferred.DeferredCancelEventArgs
type TokenItemAddingEventArgs = class
    inherit DeferredCancelEventArgs
Public Class TokenItemAddingEventArgs
Inherits DeferredCancelEventArgs
Inheritance
Inheritance

Constructors

TokenItemAddingEventArgs(String)

Initializes a new instance of the TokenItemAddingEventArgs class.

Properties

Cancel

Gets or sets a value indicating whether the event should be cancelled.

(Inherited from DeferredCancelEventArgs)
Cancel

Gets or sets a value indicating whether the event should be canceled.

(Inherited from DeferredCancelEventArgs)
Item

Gets or sets the item to be added to the TokenizingTextBox. If null, TokenText string will be added.

TokenText

Gets token as typed by the user.

Methods

GetCurrentDeferralAndReset()
Obsolete.

DO NOT USE - This is a support method used by EventHandlerExtensions. It is public only for additional usage within extensions for the UWP based TypedEventHandler extensions.

(Inherited from DeferredEventArgs)
GetDeferral()

Returns an EventDeferral which can be completed when deferred event is ready to continue.

(Inherited from DeferredEventArgs)
GetDeferral()

Returns an EventDeferral which can be completed when deferred event is ready to continue.

(Inherited from DeferredEventArgs)

Applies to