Table of Contents

Interface ITextEvent

Namespace
SharpVectors.Dom.Events
Assembly
SharpVectors.Core.dll

The ITextEvent interface provides specific contextual information associated with Text Events.

public interface ITextEvent : IUiEvent, IEvent
Inherited Members

Remarks

Note: To create an instance of the ITextEvent interface, use the feature string "TextEvent" as the value of the input parameter used with the IDocumentEvent.CreateEvent method.

Properties

Data

Data holds the value of the characters generated by the character device. This may be a single Unicode character or it may be a string.

Methods

InitTextEvent(string, bool, bool, IAbstractView, string)

The InitTextEvent method is used to initialize the value of a ITextEvent created using the IDocumentEvent.CreateEvent method.

InitTextEventNs(string, string, bool, bool, IAbstractView, string)

The InitTextEventNs method is used to initialize the value of a ITextEvent created using the IDocumentEvent.CreateEvent method. This method may only be called before the ITextEvent has been dispatched via the IEventTarget.DispatchEvent method, though it may be called multiple times during that phase if necessary. If called multiple times, the final invocation takes precedence. This method has no effect if called after the event has been dispatched.