namespace UIKit
{
    [Protocol(Name = "UITextDocumentProxy", WrapperType = typeof(UITextDocumentProxyWrapper))]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "UnmarkText", Selector = "unmarkText")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "AdjustTextPositionByCharacterOffset", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(IntPtr) }, Selector = "adjustTextPositionByCharacterOffset:")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "SetMarkedText", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(string), typeof(NSRange) }, Selector = "setMarkedText:selectedRange:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "documentContextBeforeInput", IsProperty = true, IsRequired = true, IsStatic = false, Name = "DocumentContextBeforeInput", PropertyType = typeof(string), Selector = "documentContextBeforeInput")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "documentContextAfterInput", IsProperty = true, IsRequired = true, IsStatic = false, Name = "DocumentContextAfterInput", PropertyType = typeof(string), Selector = "documentContextAfterInput")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "documentInputMode", IsProperty = true, IsRequired = true, IsStatic = false, Name = "DocumentInputMode", PropertyType = typeof(UITextInputMode), Selector = "documentInputMode")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "selectedText", IsProperty = true, IsRequired = true, IsStatic = false, Name = "SelectedText", PropertyType = typeof(string), Selector = "selectedText")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.Copy, GetterSelector = "documentIdentifier", IsProperty = true, IsRequired = true, IsStatic = false, Name = "DocumentIdentifier", PropertyType = typeof(NSUuid), Selector = "documentIdentifier")]
    [SupportedOSPlatform("maccatalyst")]
    [SupportedOSPlatform("ios")]
    [SupportedOSPlatform("tvos")]
    public interface IUITextDocumentProxy : INativeObject, IDisposable, IUIKeyInput, IUITextInputTraits
}
Assembly Microsoft.MacCatalyst , Version=17.0.0.0, PublicKeyToken=84e04ff9cfb79065
Help Documentation
.NET 6.0-ios6.0-maccatalyst6.0-tvos7.0-ios7.0-maccatalyst7.0-tvos8.0-ios8.0-maccatalyst8.0-tvos9.0-ios9.0-maccatalyst9.0-tvos
Xamarin iOS 0.0
Xamarin tvOS 0.0
OS Platforms

For the selected framework this API is only supported on the following OS platforms:

  • iOS
  • Mac Catalyst
  • tvOS
  • Built-in API
  • Package-provided API

03/28/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙