IBehaviorCollection

IBehaviorCollection

Overview

IBehaviorCollection is a class in Aspose.Slides FOSS for Python. Inherits from: ABC.

Represents collection of behavior effects.

This class declares 8 methods for IBehaviorCollection objects in Python programs. Available methods include: __getitem__, add, clear, contains, index_of, insert, remove, remove_at. Public members are accessible to any Python application after installing the Aspose.Slides FOSS for Python package. Properties: as_i_enumerable, count.

Properties

NameTypeAccessDescription
countintReadReturns the number of behaviors in a collection.
as_i_enumerableAnyReadReturns IEnumerable interface.

Methods

SignatureDescription
add(item)Inserts the specified behavior into the collection
index_of(item) → intCalls index_of(item) on this IBehaviorCollection instance.
insert(index, item)Places a behavior at the specified index, shifting later items
remove(item) → boolDeletes the given behavior and returns True if it was removed
remove_at(index)Deletes the behavior located at the specified index
clear()Removes all behaviors from the collection
contains(item) → boolReturns True if the specified behavior exists in the collection
__getitem__(index: int) → IBehaviorCalls getitem(index) on this IBehaviorCollection instance.

See Also