Share via


INSControlTextEditingDelegate Interface

Definition

This interface represents the Objective-C protocol NSControlTextEditingDelegate.

[Foundation.Protocol(Name="NSControlTextEditingDelegate", WrapperType=typeof(AppKit.NSControlTextEditingDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="TextShouldBeginEditing", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSControl), typeof(AppKit.NSText) }, ReturnType=typeof(System.Boolean), Selector="control:textShouldBeginEditing:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="TextShouldEndEditing", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSControl), typeof(AppKit.NSText) }, ReturnType=typeof(System.Boolean), Selector="control:textShouldEndEditing:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidFailToFormatString", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSControl), typeof(System.String), typeof(System.String) }, ReturnType=typeof(System.Boolean), Selector="control:didFailToFormatString:errorDescription:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidFailToValidatePartialString", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSControl), typeof(System.String), typeof(System.String) }, Selector="control:didFailToValidatePartialString:errorDescription:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="IsValidObject", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSControl), typeof(Foundation.NSObject) }, ReturnType=typeof(System.Boolean), Selector="control:isValidObject:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DoCommandBySelector", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSControl), typeof(AppKit.NSTextView), typeof(ObjCRuntime.Selector) }, ReturnType=typeof(System.Boolean), Selector="control:textView:doCommandBySelector:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetCompletions", ParameterByRef=new System.Boolean[] { false, false, false, false, true }, ParameterType=new System.Type[] { typeof(AppKit.NSControl), typeof(AppKit.NSTextView), typeof(System.String[]), typeof(Foundation.NSRange), typeof(System.IntPtr) }, ReturnType=typeof(System.String[]), Selector="control:textView:completions:forPartialWordRange:indexOfSelectedItem:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ControlTextDidBeginEditing", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="controlTextDidBeginEditing:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ControlTextDidEndEditing", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="controlTextDidEndEditing:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ControlTextDidChange", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="controlTextDidChange:")]
public interface INSControlTextEditingDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="NSControlTextEditingDelegate", WrapperType=typeof(AppKit.NSControlTextEditingDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="TextShouldBeginEditing", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSControl), typeof(AppKit.NSText) }, ReturnType=typeof(System.Boolean), Selector="control:textShouldBeginEditing:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="TextShouldEndEditing", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSControl), typeof(AppKit.NSText) }, ReturnType=typeof(System.Boolean), Selector="control:textShouldEndEditing:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidFailToFormatString", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSControl), typeof(System.String), typeof(System.String) }, ReturnType=typeof(System.Boolean), Selector="control:didFailToFormatString:errorDescription:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidFailToValidatePartialString", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSControl), typeof(System.String), typeof(System.String) }, Selector="control:didFailToValidatePartialString:errorDescription:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="IsValidObject", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSControl), typeof(Foundation.NSObject) }, ReturnType=typeof(System.Boolean), Selector="control:isValidObject:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DoCommandBySelector", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSControl), typeof(AppKit.NSTextView), typeof(ObjCRuntime.Selector) }, ReturnType=typeof(System.Boolean), Selector="control:textView:doCommandBySelector:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetCompletions", ParameterByRef=new System.Boolean[] { false, false, false, false, true }, ParameterType=new System.Type[] { typeof(AppKit.NSControl), typeof(AppKit.NSTextView), typeof(System.String[]), typeof(Foundation.NSRange), typeof(System.IntPtr) }, ReturnType=typeof(System.String[]), Selector="control:textView:completions:forPartialWordRange:indexOfSelectedItem:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ControlTextDidBeginEditing", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="controlTextDidBeginEditing:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ControlTextDidEndEditing", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="controlTextDidEndEditing:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ControlTextDidChange", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="controlTextDidChange:")>]
type INSControlTextEditingDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

A class that implements this interface (and subclasses NSObject) will be exported to Objective-C as implementing the Objective-C protocol this interface represents.

A class may also implement members from this interface to implement members from the protocol.

Properties

Name Description
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

Name Description
ControlTextDidBeginEditing(NSNotification)
ControlTextDidChange(NSNotification)
ControlTextDidEndEditing(NSNotification)
DidFailToFormatString(NSControl, String, String)
DidFailToValidatePartialString(NSControl, String, String)
DoCommandBySelector(NSControl, NSTextView, Selector)
GetCompletions(NSControl, NSTextView, String[], NSRange, IntPtr)
IsValidObject(NSControl, NSObject)
TextShouldBeginEditing(NSControl, NSText)
TextShouldEndEditing(NSControl, NSText)

Extension Methods

Name Description
ControlTextDidBeginEditing(INSControlTextEditingDelegate, NSNotification)
ControlTextDidChange(INSControlTextEditingDelegate, NSNotification)
ControlTextDidEndEditing(INSControlTextEditingDelegate, NSNotification)
DidFailToFormatString(INSControlTextEditingDelegate, NSControl, String, String)
DidFailToValidatePartialString(INSControlTextEditingDelegate, NSControl, String, String)
DoCommandBySelector(INSControlTextEditingDelegate, NSControl, NSTextView, Selector)
GetCompletions(INSControlTextEditingDelegate, NSControl, NSTextView, String[], NSRange, IntPtr)
IsValidObject(INSControlTextEditingDelegate, NSControl, NSObject)
TextShouldBeginEditing(INSControlTextEditingDelegate, NSControl, NSText)
TextShouldEndEditing(INSControlTextEditingDelegate, NSControl, NSText)
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to