Share via


INSTextAttachmentCellProtocol Interface

Definition

This interface represents the Objective-C protocol NSTextAttachmentCell.

[Foundation.Protocol(Name="NSTextAttachmentCell", WrapperType=typeof(AppKit.NSTextAttachmentCellProtocolWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DrawWithFrame", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CoreGraphics.CGRect), typeof(AppKit.NSView) }, Selector="drawWithFrame:inView:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="WantsToTrackMouse", ReturnType=typeof(System.Boolean), Selector="wantsToTrackMouse")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DrawWithFrame", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(CoreGraphics.CGRect), typeof(AppKit.NSView), typeof(System.UIntPtr) }, Selector="drawWithFrame:inView:characterIndex:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DrawWithFrame", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(CoreGraphics.CGRect), typeof(AppKit.NSView), typeof(System.UIntPtr), typeof(AppKit.NSLayoutManager) }, Selector="drawWithFrame:inView:characterIndex:layoutManager:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="Highlight", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(System.Boolean), typeof(CoreGraphics.CGRect), typeof(AppKit.NSView) }, Selector="highlight:withFrame:inView:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="TrackMouse", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSEvent), typeof(CoreGraphics.CGRect), typeof(AppKit.NSView), typeof(System.Boolean) }, ReturnType=typeof(System.Boolean), Selector="trackMouse:inRect:ofView:untilMouseUp:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="WantsToTrackMouse", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSEvent), typeof(CoreGraphics.CGRect), typeof(AppKit.NSView), typeof(System.UIntPtr) }, ReturnType=typeof(System.Boolean), Selector="wantsToTrackMouseForEvent:inRect:ofView:atCharacterIndex:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="TrackMouse", ParameterByRef=new System.Boolean[] { false, false, false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSEvent), typeof(CoreGraphics.CGRect), typeof(AppKit.NSView), typeof(System.UIntPtr), typeof(System.Boolean) }, ReturnType=typeof(System.Boolean), Selector="trackMouse:inRect:ofView:atCharacterIndex:untilMouseUp:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="CellFrameForTextContainer", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSTextContainer), typeof(CoreGraphics.CGRect), typeof(CoreGraphics.CGPoint), typeof(System.UIntPtr) }, ReturnType=typeof(CoreGraphics.CGRect), Selector="cellFrameForTextContainer:proposedLineFragment:glyphPosition:characterIndex:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="cellSize", IsProperty=true, IsRequired=true, IsStatic=false, Name="CellSize", PropertyType=typeof(CoreGraphics.CGSize), Selector="cellSize")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="cellBaselineOffset", IsProperty=true, IsRequired=true, IsStatic=false, Name="CellBaselineOffset", PropertyType=typeof(CoreGraphics.CGPoint), Selector="cellBaselineOffset")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="attachment", IsProperty=true, IsRequired=true, IsStatic=false, Name="Attachment", PropertyType=typeof(AppKit.NSTextAttachment), Selector="attachment", SetterSelector="setAttachment:")]
public interface INSTextAttachmentCellProtocol : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="NSTextAttachmentCell", WrapperType=typeof(AppKit.NSTextAttachmentCellProtocolWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DrawWithFrame", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CoreGraphics.CGRect), typeof(AppKit.NSView) }, Selector="drawWithFrame:inView:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="WantsToTrackMouse", ReturnType=typeof(System.Boolean), Selector="wantsToTrackMouse")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DrawWithFrame", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(CoreGraphics.CGRect), typeof(AppKit.NSView), typeof(System.UIntPtr) }, Selector="drawWithFrame:inView:characterIndex:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DrawWithFrame", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(CoreGraphics.CGRect), typeof(AppKit.NSView), typeof(System.UIntPtr), typeof(AppKit.NSLayoutManager) }, Selector="drawWithFrame:inView:characterIndex:layoutManager:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="Highlight", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(System.Boolean), typeof(CoreGraphics.CGRect), typeof(AppKit.NSView) }, Selector="highlight:withFrame:inView:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="TrackMouse", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSEvent), typeof(CoreGraphics.CGRect), typeof(AppKit.NSView), typeof(System.Boolean) }, ReturnType=typeof(System.Boolean), Selector="trackMouse:inRect:ofView:untilMouseUp:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="WantsToTrackMouse", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSEvent), typeof(CoreGraphics.CGRect), typeof(AppKit.NSView), typeof(System.UIntPtr) }, ReturnType=typeof(System.Boolean), Selector="wantsToTrackMouseForEvent:inRect:ofView:atCharacterIndex:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="TrackMouse", ParameterByRef=new System.Boolean[] { false, false, false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSEvent), typeof(CoreGraphics.CGRect), typeof(AppKit.NSView), typeof(System.UIntPtr), typeof(System.Boolean) }, ReturnType=typeof(System.Boolean), Selector="trackMouse:inRect:ofView:atCharacterIndex:untilMouseUp:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="CellFrameForTextContainer", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSTextContainer), typeof(CoreGraphics.CGRect), typeof(CoreGraphics.CGPoint), typeof(System.UIntPtr) }, ReturnType=typeof(CoreGraphics.CGRect), Selector="cellFrameForTextContainer:proposedLineFragment:glyphPosition:characterIndex:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="cellSize", IsProperty=true, IsRequired=true, IsStatic=false, Name="CellSize", PropertyType=typeof(CoreGraphics.CGSize), Selector="cellSize")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="cellBaselineOffset", IsProperty=true, IsRequired=true, IsStatic=false, Name="CellBaselineOffset", PropertyType=typeof(CoreGraphics.CGPoint), Selector="cellBaselineOffset")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="attachment", IsProperty=true, IsRequired=true, IsStatic=false, Name="Attachment", PropertyType=typeof(AppKit.NSTextAttachment), Selector="attachment", SetterSelector="setAttachment:")>]
type INSTextAttachmentCellProtocol = 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.

Applies to