Method SafeItem
SafeItem<T>(int)
Gets item with the specified index. If index of the item is invalid, returns null.
T? SafeItem<T>(int index) where T : class
Parameters
indexintIndex of the item.
Returns
- T
Type Parameters
TType of the result.
SafeItem(int)
Gets ListControlItem item with the specified index.
If index of the item is invalid or item is not ListControlItem,
returns null.
ListControlItem? SafeItem(int index)
Parameters
indexint