NSTextAttachment Classe

Definizione

Allegato a un oggetto NSAttributedString.

[Foundation.Register("NSTextAttachment", true)]
public class NSTextAttachment : Foundation.NSObject, AppKit.INSTextAttachmentContainer, AppKit.INSTextAttachmentLayout, Foundation.INSSecureCoding, IDisposable
[<Foundation.Register("NSTextAttachment", true)>]
type NSTextAttachment = class
    inherit NSObject
    interface INSCoding
    interface INativeObject
    interface IDisposable
    interface INSSecureCoding
    interface INSTextAttachmentContainer
    interface INSTextAttachmentLayout
Ereditarietà
NSTextAttachment
Attributi
Implementazioni

Costruttori

Nome Descrizione
NSTextAttachment()

Crea un nuovo NSTextAttachment oggetto con valori predefiniti.

NSTextAttachment(NativeHandle)

Costruttore utilizzato durante la creazione di rappresentazioni gestite di oggetti non gestiti. Chiamato dal runtime.

NSTextAttachment(NSCoder)

Costruttore che inizializza l'oggetto dai dati archiviati nell'oggetto unarchiver.

NSTextAttachment(NSData, String)

Crea un nuovo NSTextAttachment oggetto con l'oggetto specificato contentData.

NSTextAttachment(NSFileWrapper)

Allegato a un oggetto NSAttributedString.

NSTextAttachment(NSObjectFlag)

Costruttore da chiamare sulle classi derivate per ignorare l'inizializzazione e semplicemente allocare l'oggetto.

Proprietà

Nome Descrizione
AllowsTextAttachmentView

Allegato a un oggetto NSAttributedString.

AttachmentCell

Allegato a un oggetto NSAttributedString.

Bounds

Allegato a un oggetto NSAttributedString.

Class

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
ClassHandle

Handle della classe Objective-C per questa classe.

Contents

Contenuto dell'allegato di testo. La modifica invalida la proprietà Image.

DebugDescription

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
Description

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
ExposedBindings

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
FileType

Allegato a un oggetto NSAttributedString.

FileWrapper

Wrapper di file associato a questo NSTextAttachment.

Handle

Handle (puntatore) alla rappresentazione dell'oggetto non gestito.

(Ereditato da NSObject)
Image

Allegato a un oggetto NSAttributedString.

IsDirectBinding

Ottiene o imposta un valore che indica se questa istanza utilizza l'associazione diretta Objective-C.

(Ereditato da NSObject)
IsProxy

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
LineLayoutPadding

Allegato a un oggetto NSAttributedString.

RetainCount

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
Self

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
Superclass

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
SuperHandle

Handle utilizzato per rappresentare i metodi nella classe di base per questo NSObjectoggetto .

(Ereditato da NSObject)
UsesTextAttachmentView

Allegato a un oggetto NSAttributedString.

Zone

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)

Metodi

Nome Descrizione
AddObserver(NSObject, NSString, NSKeyValueObservingOptions, IntPtr)

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
AddObserver(NSObject, String, NSKeyValueObservingOptions, IntPtr)

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
AddObserver(NSString, NSKeyValueObservingOptions, Action<NSObservedChange>)

Registra un oggetto per essere osservato esternamente usando un metodo arbitrario.

(Ereditato da NSObject)
AddObserver(String, NSKeyValueObservingOptions, Action<NSObservedChange>)

Registra un oggetto per essere osservato esternamente usando un metodo arbitrario.

(Ereditato da NSObject)
AwakeFromNib()

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
BeginInvokeOnMainThread(Action)

Richiama l'azione specificata in modo asincrono nel thread principale dell'interfaccia utente.

(Ereditato da NSObject)
BeginInvokeOnMainThread(Selector, NSObject)

Richiama in modo asincrono il codice specificato nel thread principale dell'interfaccia utente.

(Ereditato da NSObject)
Bind(NSString, NSObject, String, NSBindingOptions)

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
Bind(NSString, NSObject, String, NSDictionary)

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
CommitEditing()

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
CommitEditing(NSObject, Selector, IntPtr)

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
ConformsToProtocol(NativeHandle)

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
Copy()

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
DangerousAutorelease()

Chiama il selettore 'autorelease' su questo oggetto.

(Ereditato da NSObject)
DangerousRelease()

Chiama il selettore 'release' su questo oggetto.

(Ereditato da NSObject)
DangerousRetain()

Chiama il selettore 'retain' su questo oggetto.

(Ereditato da NSObject)
DidChange(NSKeyValueChange, NSIndexSet, NSString)

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
DidChange(NSString, NSKeyValueSetMutationKind, NSSet)

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
DidChangeValue(String)

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
Dispose()

Rilascia le risorse utilizzate dall'oggetto NSObject .

(Ereditato da NSObject)
Dispose(Boolean)

Rilascia le risorse usate da questo oggetto.

(Ereditato da NSObject)
DoesNotRecognizeSelector(Selector)

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
EncodeTo(NSCoder)

Codifica lo stato dell'oggetto usando il codificatore fornito.

Equals(NSObject)

Determina se l'oggetto specificato NSObject è uguale all'oggetto corrente NSObject.

(Ereditato da NSObject)
Equals(Object)

Determina se l'oggetto specificato è uguale all'oggetto corrente NSObject.

(Ereditato da NSObject)
GetAttachmentBounds(NSDictionary<NSString,NSObject>, INSTextLocation, NSTextContainer, CGRect, CGPoint)

Allegato a un oggetto NSAttributedString.

GetAttachmentBounds(NSTextContainer, CGRect, CGPoint, UIntPtr)

Restituisce i limiti dell'allegato di testo.

GetBindingInfo(NSString)

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
GetBindingOptionDescriptions(NSString)

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
GetBindingValueClass(NSString)

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
GetDictionaryOfValuesFromKeys(NSString[])

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
GetHashCode()

Genera un codice hash per l'istanza corrente.

(Ereditato da NSObject)
GetImageForBounds(CGRect, NSDictionary<NSString,NSObject>, INSTextLocation, NSTextContainer)

Allegato a un oggetto NSAttributedString.

GetImageForBounds(CGRect, NSTextContainer, UIntPtr)

Restituisce un'immagine sottoposta a rendering in bounds.

GetMethodForSelector(Selector)

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
GetNativeHash()

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
GetTextAttachmentViewProviderClass(String)

Allegato a un oggetto NSAttributedString.

GetViewProvider(NSView, INSTextLocation, NSTextContainer)

Allegato a un oggetto NSAttributedString.

Init()

Inizializza l'oggetto chiamando il metodo Objective-C init .

(Ereditato da NSObject)
InitializeHandle(NativeHandle, String)

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
InitializeHandle(NativeHandle)

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
Invoke(Action, Double)

Richiama l'azione specificata dopo il ritardo specificato.

(Ereditato da NSObject)
Invoke(Action, TimeSpan)

Richiama l'azione specificata dopo il ritardo specificato.

(Ereditato da NSObject)
InvokeOnMainThread(Action)

Richiama l'azione specificata in modo sincrono nel thread principale dell'interfaccia utente.

(Ereditato da NSObject)
InvokeOnMainThread(Selector, NSObject)

Richiama in modo sincrono il codice specificato nel thread principale dell'interfaccia utente.

(Ereditato da NSObject)
IsEqual(NSObject)

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
IsKindOfClass(Class)

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
IsMemberOfClass(Class)

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
MarkDirty()

Promuove un normale oggetto peer (IsDirectBinding è true) in un oggetto toggleref.

(Ereditato da NSObject)
MutableCopy()

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
ObjectDidEndEditing(NSObject)

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
ObserveValue(NSString, NSObject, NSDictionary, IntPtr)

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
PerformSelector(Selector, NSObject, Double, NSString[])

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
PerformSelector(Selector, NSObject, Double)

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
PerformSelector(Selector, NSObject, NSObject)

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
PerformSelector(Selector, NSObject)

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
PerformSelector(Selector, NSThread, NSObject, Boolean, NSString[])

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
PerformSelector(Selector, NSThread, NSObject, Boolean)

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
PerformSelector(Selector)

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
PrepareForInterfaceBuilder()

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
RegisterViewProviderClass(Class, String)

Allegato a un oggetto NSAttributedString.

RemoveObserver(NSObject, NSString, IntPtr)

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
RemoveObserver(NSObject, NSString)

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
RemoveObserver(NSObject, String, IntPtr)

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
RemoveObserver(NSObject, String)

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
RespondsToSelector(Selector)

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
SetNilValueForKey(NSString)

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
SetValueForKey(NSObject, NSString)

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
SetValueForKeyPath(NativeHandle, NSString)

Imposta il valore per la proprietà identificata da un determinato percorso di chiave su un determinato valore.

(Ereditato da NSObject)
SetValueForKeyPath(NSObject, NSString)

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
SetValueForUndefinedKey(NSObject, NSString)

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
SetValuesForKeysWithDictionary(NSDictionary)

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
ToString()

Restituisce una rappresentazione di stringa del valore dell'istanza corrente.

(Ereditato da NSObject)
Unbind(NSString)

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
ValueForKey(NSString)

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
ValueForKeyPath(NSString)

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
ValueForUndefinedKey(NSString)

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
WillChange(NSKeyValueChange, NSIndexSet, NSString)

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
WillChange(NSString, NSKeyValueSetMutationKind, NSSet)

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)
WillChangeValue(String)

Allegato a un oggetto NSAttributedString.

(Ereditato da NSObject)

Metodi di estensione

Nome Descrizione
AcceptsPreviewPanelControl(NSObject, QLPreviewPanel)

Allegato a un oggetto NSAttributedString.

BeginPreviewPanelControl(NSObject, QLPreviewPanel)

Allegato a un oggetto NSAttributedString.

BrowserAccessibilityDeleteTextAtCursor(NSObject, IntPtr)

Allegato a un oggetto NSAttributedString.

BrowserAccessibilityInsertTextAtCursor(NSObject, String)

Allegato a un oggetto NSAttributedString.

EndPreviewPanelControl(NSObject, QLPreviewPanel)

Allegato a un oggetto NSAttributedString.

GetAccessibilityLineEndPositionFromCurrentSelection(NSObject)

Allegato a un oggetto NSAttributedString.

GetAccessibilityLineRangeForPosition(NSObject, IntPtr)

Allegato a un oggetto NSAttributedString.

GetAccessibilityLineStartPositionFromCurrentSelection(NSObject)

Allegato a un oggetto NSAttributedString.

GetBrowserAccessibilityAttributedValue(NSObject, NSRange)

Allegato a un oggetto NSAttributedString.

GetBrowserAccessibilityContainerType(NSObject)

Allegato a un oggetto NSAttributedString.

GetBrowserAccessibilityCurrentStatus(NSObject)

Allegato a un oggetto NSAttributedString.

GetBrowserAccessibilityHasDomFocus(NSObject)

Allegato a un oggetto NSAttributedString.

GetBrowserAccessibilityIsRequired(NSObject)

Allegato a un oggetto NSAttributedString.

GetBrowserAccessibilityPressedState(NSObject)

Allegato a un oggetto NSAttributedString.

GetBrowserAccessibilityRoleDescription(NSObject)

Allegato a un oggetto NSAttributedString.

GetBrowserAccessibilitySelectedTextRange(NSObject)

Allegato a un oggetto NSAttributedString.

GetBrowserAccessibilitySortDirection(NSObject)

Allegato a un oggetto NSAttributedString.

GetBrowserAccessibilityValue(NSObject, NSRange)

Allegato a un oggetto NSAttributedString.

GetDebugDescription(INSObjectProtocol)

Allegato a un oggetto NSAttributedString.

GetHandle(INativeObject)

Allegato a un oggetto NSAttributedString.

GetNonNullHandle(INativeObject, String)

Allegato a un oggetto NSAttributedString.

GetValidModes(NSObject, NSFontPanel)

Allegato a un oggetto NSAttributedString.

ObjectDidBeginEditing(NSObject, INSEditor)

Allegato a un oggetto NSAttributedString.

ObjectDidEndEditing(NSObject, INSEditor)

Allegato a un oggetto NSAttributedString.

ProvideImageData(NSObject, IntPtr, UIntPtr, UIntPtr, UIntPtr, UIntPtr, UIntPtr, NSObject)

Allegato a un oggetto NSAttributedString.

ProvideImageToMTLTexture(NSObject, IMTLTexture, IMTLCommandBuffer, UIntPtr, UIntPtr, UIntPtr, UIntPtr, NSObject)

Allegato a un oggetto NSAttributedString.

SetBrowserAccessibilityContainerType(NSObject, BEAccessibilityContainerType)

Allegato a un oggetto NSAttributedString.

SetBrowserAccessibilityCurrentStatus(NSObject, String)

Allegato a un oggetto NSAttributedString.

SetBrowserAccessibilityHasDomFocus(NSObject, Boolean)

Allegato a un oggetto NSAttributedString.

SetBrowserAccessibilityIsRequired(NSObject, Boolean)

Allegato a un oggetto NSAttributedString.

SetBrowserAccessibilityPressedState(NSObject, BEAccessibilityPressedState)

Allegato a un oggetto NSAttributedString.

SetBrowserAccessibilityRoleDescription(NSObject, String)

Allegato a un oggetto NSAttributedString.

SetBrowserAccessibilitySelectedTextRange(NSObject, NSRange)

Allegato a un oggetto NSAttributedString.

SetBrowserAccessibilitySortDirection(NSObject, String)

Allegato a un oggetto NSAttributedString.

SetSharedObservers(NSObject, NSKeyValueSharedObserversSnapshot)

Allegato a un oggetto NSAttributedString.

ValidateToolbarItem(NSObject, NSToolbarItem)

Allegato a un oggetto NSAttributedString.

Si applica a

Vedi anche