iOS Guides | Samples

MonoTouch.UIKit.UITextViewDelegate Class

A class used to receive notifications from a UITextView control.

See Also: UITextViewDelegate

Syntax

[MonoTouch.Foundation.Model]
[MonoTouch.Foundation.Protocol]
[MonoTouch.Foundation.Register("UITextViewDelegate", false)]
public class UITextViewDelegate : UIScrollViewDelegate, IUITextViewDelegate, IDisposable

Remarks

A strongly typed implementation of a class that can be used to respond to events raised by the UITextView.

Related content

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0

The members of MonoTouch.UIKit.UITextViewDelegate are listed below.

See Also: UIScrollViewDelegate

Public Constructors

Default constructor that initializes a new instance of this class with no parameters.
A constructor that initializes the object from the data stored in the unarchiver object.
Constructor to call on derived classes to skip initialization and merely allocate the object.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Methods

Changed(UITextView)
Indicates the text or text attributes in the specified UITextView were changed by the app user.
override
DecelerationEnded(UIScrollView)
Indicates that deceleration, due to a scrilling event, has completed.
override
DecelerationStarted(UIScrollView)
Indicates that deceleration of a scrolling event has begun.
override
DidZoom(UIScrollView)
Indicates that zooming has occurred.
override
DraggingEnded(UIScrollView, Boolean)
Indicates that dragging has ended.
override
DraggingStarted(UIScrollView)
Indicates that dragging has started.
EditingEnded(UITextView)
Indicates that editing has ended in the specified UITextView.
EditingStarted(UITextView)
Indicates editing has begun in the specified UITextView.
override
ScrollAnimationEnded(UIScrollView)
Indicates that animations relating to a scrolling event have finished.
override
Scrolled(UIScrollView)
Indicates that a scrolling event occurred.
override
ScrolledToTop(UIScrollView)
Indicates that this UITextView scrolled to its beginning.
SelectionChanged(UITextView)
Indicates the text selection has changed in the specified UITextView.
ShouldBeginEditing(UITextView) : Boolean
Whether editing should begin in the specified UITextView.
ShouldChangeText(UITextView, NSRange, String) : Boolean
Whether the specified text should be replaced in the UITextView.
ShouldEndEditing(UITextView) : Boolean
Whether editing should end in the specified UITextView.
ShouldInteractWithTextAttachment(UITextView, NSTextAttachment, NSRange) : Boolean
Whether the specified UITextView should allow user interaction with the specified text attachment in a given range of text.
ShouldInteractWithUrl(UITextView, NSUrl, NSRange) : Boolean
Whether the specified UITextView should allow user interaction with the specified URL in the given range of text.
override
ShouldScrollToTop(UIScrollView) : Boolean
Whether this UITextView should scroll to its beginning.
override
ViewForZoomingInScrollView(UIScrollView) : UIView
The UIView to scale when zooming is about to occur.
override
WillEndDragging(UIScrollView, PointF, ref PointF)
Indicates that dragging is about to finish.
override
ZoomingEnded(UIScrollView, UIView, Single)
Indicates that zooming has finished.
override
ZoomingStarted(UIScrollView, UIView)
Indicates that zooming has begun.