LEADTOOLS Winrt (Leadtools.Annotations.Designers)
LEAD Technologies, Inc

EditText Event


Occurs when the user enters text edit mode in this AnnTextEditDesigner. WinRT support
Syntax
public event EventHandler<AnnEditTextEventArgs> EditText
add_EditText(function(sender, e))
remove_EditText(function(sender, e))

Event Data

The event handler receives an argument of type AnnEditTextEventArgs containing data related to this event. The following AnnEditTextEventArgs properties provide information specific to this event.

PropertyDescription
Bounds Gets the bounding rectangle of the Leadtools.Annotations.Core.AnnTextObject entering text-editing mode in screen/device coordinates. WinRT support
Cancel Gets or sets a value indicating whether edit mode should be canceled. WinRT support
TextObject Gets the Leadtools.Annotations.Core.AnnTextObject that is entering text-editing mode. WinRT support
Remarks

When the user enters the text edit mode in this AnnTextEditDesigner, usually, by double clicking or tapping on the object, the EditText event will occur. If the user does not cancel the operation as described below, then this designed will create a temporary edit control on the page to allow the user to enter and edit the text.

The event handler receives an argument of type Leadtools.Annotations.Core.AnnEditTextEventArgs containing data related to this event. The following Leadtools.Annotations.Core.AnnEditTextEventArgs properties provide information specific to this event:

Property Description
Leadtools.Annotations.Core.AnnEditTextEventArgs.Cancel

Gets or sets a value indicating whether to cancel the default operation. When this property is set to true, the designer will not create the temporary edit control on the page and it is assumed that a different mechanism has been implemented by the application.

Leadtools.Annotations.Core.AnnEditTextEventArgs.Bounds

Gets the current bounding rectangle of the text object.

Leadtools.Annotations.Core.AnnEditTextEventArgs.TextObject

Gets or sets the Leadtools.Annotations.Core.AnnTextObject being edited.

Leadtools.Annotations.Core.AnnEditTextEventArgs
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AnnTextEditDesigner Class
AnnTextEditDesigner Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.