-
Notifications
You must be signed in to change notification settings - Fork 2
ReadOnlyObservableCollection.lastIndexOf
API / ReadOnlyObservableCollection<TItem> / lastIndexOf method
Returns the last index of an item, or -1
if none can be found.
This is a public method.
public lastIndexOf(searchElement: TItem, fromIndex?: number): number
- searchElement: TItem, the item to search for.
- fromIndex: Number, optional, the index from where to start searching backwards.
Returns: Number
Returns the index where the provided searchElement
was last found; otherwise -1
.
Motivation
Overview
Guides and Tutorials - Getting Started
Releases
API
Events
IEvent
IEventHandler
INotifyPropertiesChanged
INotifyCollectionChanged
IItemAddedEventArgs
IItemRemovedEventArgs
ICollectionChange
ItemRemovedCallback
ICollectionChange
EventDispatcher
Observable Collections
IReadOnlyObservableCollection
IObservableCollection
ReadOnlyObservableCollection
ObservableCollection
ViewModels
ViewModel
isViewModel
Forms
IFormFieldViewModel
IFormFieldViewModelConfig
FormFieldViewModel
FormFieldCollectionViewModel
FormFieldSet
DynamicFormFieldCollectionViewModel
Validation
IReadOnlyValidatable
IValidatable
IValidationConfig
ValidatorCallback
CollectionItemValidatorCallback
ValidatableSelectorCallback
ValidationConfigSelectorCallback
UnsubscribeCallback
registerValidators
registerCollectionValidators
registerCollectionItemValidators
React Hooks
EventHandler
useEvent
ViewModelType
ViewModelFactory
useViewModel
useViewModelMemo
useObservableCollection
useValidators
useCollectionValidators
useCollectionItemValidators