UICollectionViewDiffableDataSource<SectionIdentifierType,ItemIdentifierType> Classe

Definizione

[Foundation.Register("UICollectionViewDiffableDataSource", true)]
public class UICollectionViewDiffableDataSource<SectionIdentifierType,ItemIdentifierType> : Foundation.NSObject, IDisposable, UIKit.IUICollectionViewDataSource where SectionIdentifierType : NSObject where ItemIdentifierType : NSObject
[<Foundation.Register("UICollectionViewDiffableDataSource", true)>]
type UICollectionViewDiffableDataSource<'SectionIdentifierType, 'ItemIdentifierType (requires 'SectionIdentifierType :> NSObject and 'ItemIdentifierType :> NSObject)> = class
    inherit NSObject
    interface IUICollectionViewDataSource
    interface INativeObject
    interface IDisposable

Parametri di tipo

SectionIdentifierType
ItemIdentifierType
Ereditarietà
UICollectionViewDiffableDataSource<SectionIdentifierType,ItemIdentifierType>
Attributi
Implementazioni

Costruttori

Nome Descrizione
UICollectionViewDiffableDataSource<SectionIdentifierType,ItemIdentifierType>(NativeHandle)

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

UICollectionViewDiffableDataSource<SectionIdentifierType,ItemIdentifierType>(NSObjectFlag)

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

UICollectionViewDiffableDataSource<SectionIdentifierType,ItemIdentifierType>(UICollectionView, UICollectionViewDiffableDataSourceCellProvider)

Proprietà

Nome Descrizione
AccessibilityAttributedUserInputLabels (Ereditato da NSObject)
AccessibilityRespondsToUserInteraction (Ereditato da NSObject)
AccessibilityTextualContext (Ereditato da NSObject)
AccessibilityUserInputLabels (Ereditato da NSObject)
Class (Ereditato da NSObject)
ClassHandle

Handle della classe Objective-C per questa classe.

DebugDescription (Ereditato da NSObject)
Description (Ereditato da NSObject)
Handle

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

(Ereditato da NSObject)
IsDirectBinding

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

(Ereditato da NSObject)
IsProxy (Ereditato da NSObject)
ReorderingHandlers
RetainCount (Ereditato da NSObject)
SectionSnapshotHandlers
Self (Ereditato da NSObject)
Snapshot
Superclass (Ereditato da NSObject)
SuperHandle

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

(Ereditato da NSObject)
SupplementaryViewProvider
Zone (Ereditato da NSObject)

Metodi

Nome Descrizione
AddObserver(NSObject, NSString, NSKeyValueObservingOptions, IntPtr) (Ereditato da NSObject)
AddObserver(NSObject, String, NSKeyValueObservingOptions, IntPtr) (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)
ApplySnapshot(NSDiffableDataSourceSectionSnapshot<ItemIdentifierType>, SectionIdentifierType, Boolean, Action)
ApplySnapshot(NSDiffableDataSourceSectionSnapshot<ItemIdentifierType>, SectionIdentifierType, Boolean)
ApplySnapshot(NSDiffableDataSourceSnapshot<SectionIdentifierType,ItemIdentifierType>, Boolean, Action)
ApplySnapshot(NSDiffableDataSourceSnapshot<SectionIdentifierType,ItemIdentifierType>, Boolean)
ApplySnapshotAsync(NSDiffableDataSourceSnapshot<SectionIdentifierType,ItemIdentifierType>, Boolean)
ApplySnapshotUsingReloadData(NSDiffableDataSourceSnapshot<SectionIdentifierType,ItemIdentifierType>, Action)
ApplySnapshotUsingReloadData(NSDiffableDataSourceSnapshot<SectionIdentifierType,ItemIdentifierType>)
ApplySnapshotUsingReloadDataAsync(NSDiffableDataSourceSnapshot<SectionIdentifierType,ItemIdentifierType>)
AwakeFromNib() (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)
CanMoveItem(UICollectionView, NSIndexPath)
ConformsToProtocol(NativeHandle) (Ereditato da NSObject)
Copy() (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) (Ereditato da NSObject)
DidChange(NSString, NSKeyValueSetMutationKind, NSSet) (Ereditato da NSObject)
DidChangeValue(String) (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) (Ereditato da NSObject)
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)
GetCell(UICollectionView, NSIndexPath)

Ottiene una cella.

GetDictionaryOfValuesFromKeys(NSString[]) (Ereditato da NSObject)
GetHashCode()

Genera un codice hash per l'istanza corrente.

(Ereditato da NSObject)
GetIndex(SectionIdentifierType)
GetIndexPath(ItemIdentifierType)
GetIndexPath(UICollectionView, String, IntPtr)

Richiede il percorso di indice per l'elemento nella visualizzazione raccolta in corrispondenza dell'indice specificato con il titolo specificato.

GetIndexTitles(UICollectionView)

Richiede i titoli degli indici per gli elementi nella visualizzazione raccolta specificata.

GetItemIdentifier(NSIndexPath)
GetItemsCount(UICollectionView, IntPtr)

Restituisce il numero di elementi nella sezione specificata.

GetMethodForSelector(Selector) (Ereditato da NSObject)
GetNativeHash() (Ereditato da NSObject)
GetSectionIdentifier(IntPtr)
GetSnapshot(SectionIdentifierType)
GetViewForSupplementaryElement(UICollectionView, NSString, NSIndexPath)

Visualizzazione riutilizzabile utilizzata per l'elemento supplementare in corrispondenza dell'elemento indexPath specificato.

Init()

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

(Ereditato da NSObject)
InitializeHandle(NativeHandle, String) (Ereditato da NSObject)
InitializeHandle(NativeHandle) (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) (Ereditato da NSObject)
IsKindOfClass(Class) (Ereditato da NSObject)
IsMemberOfClass(Class) (Ereditato da NSObject)
MarkDirty()

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

(Ereditato da NSObject)
MoveItem(UICollectionView, NSIndexPath, NSIndexPath)
MutableCopy() (Ereditato da NSObject)
NumberOfSections(UICollectionView)

Numero di sezioni in questo UICollectionViewDataSource.

ObserveValue(NSString, NSObject, NSDictionary, IntPtr) (Ereditato da NSObject)
PerformSelector(Selector, NSObject, Double, NSString[]) (Ereditato da NSObject)
PerformSelector(Selector, NSObject, Double) (Ereditato da NSObject)
PerformSelector(Selector, NSObject, NSObject) (Ereditato da NSObject)
PerformSelector(Selector, NSObject) (Ereditato da NSObject)
PerformSelector(Selector, NSThread, NSObject, Boolean, NSString[]) (Ereditato da NSObject)
PerformSelector(Selector, NSThread, NSObject, Boolean) (Ereditato da NSObject)
PerformSelector(Selector) (Ereditato da NSObject)
PrepareForInterfaceBuilder() (Ereditato da NSObject)
RemoveObserver(NSObject, NSString, IntPtr) (Ereditato da NSObject)
RemoveObserver(NSObject, NSString) (Ereditato da NSObject)
RemoveObserver(NSObject, String, IntPtr) (Ereditato da NSObject)
RemoveObserver(NSObject, String) (Ereditato da NSObject)
RespondsToSelector(Selector) (Ereditato da NSObject)
SetNilValueForKey(NSString) (Ereditato da NSObject)
SetValueForKey(NSObject, NSString) (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) (Ereditato da NSObject)
SetValueForUndefinedKey(NSObject, NSString) (Ereditato da NSObject)
SetValuesForKeysWithDictionary(NSDictionary) (Ereditato da NSObject)
ToString()

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

(Ereditato da NSObject)
ValueForKey(NSString) (Ereditato da NSObject)
ValueForKeyPath(NSString) (Ereditato da NSObject)
ValueForUndefinedKey(NSString) (Ereditato da NSObject)
WillChange(NSKeyValueChange, NSIndexSet, NSString) (Ereditato da NSObject)
WillChange(NSString, NSKeyValueSetMutationKind, NSSet) (Ereditato da NSObject)
WillChangeValue(String) (Ereditato da NSObject)

Metodi di estensione

Nome Descrizione
AccessibilityHitTest(NSObject, CGPoint, UIEvent)
BrowserAccessibilityDeleteTextAtCursor(NSObject, IntPtr)
BrowserAccessibilityInsertTextAtCursor(NSObject, String)
CanMoveItem(IUICollectionViewDataSource, UICollectionView, NSIndexPath)
GetAccessibilityCustomRotors(NSObject)

Ottiene la matrice di UIAccessibilityCustomRotor oggetti appropriata per this l'oggetto .

GetAccessibilityLineEndPositionFromCurrentSelection(NSObject)
GetAccessibilityLineRangeForPosition(NSObject, IntPtr)
GetAccessibilityLineStartPositionFromCurrentSelection(NSObject)
GetAccessibilityNextTextNavigationElement(NSObject)
GetAccessibilityNextTextNavigationElementBlock(NSObject)
GetAccessibilityPreviousTextNavigationElement(NSObject)
GetAccessibilityPreviousTextNavigationElementBlock(NSObject)
GetAccessibilityTextInputResponder(NSObject)
GetAccessibilityTextInputResponderHandler(NSObject)
GetBrowserAccessibilityAttributedValue(NSObject, NSRange)
GetBrowserAccessibilityContainerType(NSObject)
GetBrowserAccessibilityCurrentStatus(NSObject)
GetBrowserAccessibilityHasDomFocus(NSObject)
GetBrowserAccessibilityIsRequired(NSObject)
GetBrowserAccessibilityPressedState(NSObject)
GetBrowserAccessibilityRoleDescription(NSObject)
GetBrowserAccessibilitySelectedTextRange(NSObject)
GetBrowserAccessibilitySortDirection(NSObject)
GetBrowserAccessibilityValue(NSObject, NSRange)
GetDebugDescription(INSObjectProtocol)
GetHandle(INativeObject)
GetIndexPath(IUICollectionViewDataSource, UICollectionView, String, IntPtr)

Richiede il percorso di indice per l'elemento nella visualizzazione raccolta in corrispondenza dell'indice specificato con il titolo specificato.

GetIndexTitles(IUICollectionViewDataSource, UICollectionView)

Richiede i titoli degli indici per gli elementi nella visualizzazione raccolta specificata.

GetNonNullHandle(INativeObject, String)
GetViewForSupplementaryElement(IUICollectionViewDataSource, UICollectionView, NSString, NSIndexPath)

Visualizzazione riutilizzabile utilizzata per l'elemento supplementare in corrispondenza dell'elemento indexPath specificato.

MoveItem(IUICollectionViewDataSource, UICollectionView, NSIndexPath, NSIndexPath)
NumberOfSections(IUICollectionViewDataSource, UICollectionView)

Numero di sezioni in questo UICollectionViewDataSource.

ProvideImageData(NSObject, IntPtr, UIntPtr, UIntPtr, UIntPtr, UIntPtr, UIntPtr, NSObject)
ProvideImageToMTLTexture(NSObject, IMTLTexture, IMTLCommandBuffer, UIntPtr, UIntPtr, UIntPtr, UIntPtr, NSObject)
SetAccessibilityCustomRotors(NSObject, UIAccessibilityCustomRotor[])

Imposta la matrice di UIAccessibilityCustomRotor oggetti appropriata per this l'oggetto .

SetAccessibilityNextTextNavigationElement(NSObject, NSObject)
SetAccessibilityNextTextNavigationElementBlock(NSObject, AXObjectReturnBlock)
SetAccessibilityPreviousTextNavigationElement(NSObject, NSObject)
SetAccessibilityPreviousTextNavigationElementBlock(NSObject, AXObjectReturnBlock)
SetAccessibilityTextInputResponder(NSObject, IUITextInput)
SetAccessibilityTextInputResponderHandler(NSObject, UITextInputReturnHandler)
SetBrowserAccessibilityContainerType(NSObject, BEAccessibilityContainerType)
SetBrowserAccessibilityCurrentStatus(NSObject, String)
SetBrowserAccessibilityHasDomFocus(NSObject, Boolean)
SetBrowserAccessibilityIsRequired(NSObject, Boolean)
SetBrowserAccessibilityPressedState(NSObject, BEAccessibilityPressedState)
SetBrowserAccessibilityRoleDescription(NSObject, String)
SetBrowserAccessibilitySelectedTextRange(NSObject, NSRange)
SetBrowserAccessibilitySortDirection(NSObject, String)
SetSharedObservers(NSObject, NSKeyValueSharedObserversSnapshot)

Si applica a