Class SequenceCollection
A collection of interactive Sequence objects on a slide's timeline. Each interactive sequence is triggered by clicking a specific shape rather than by advancing the slide.
Maps to the collection of p:seq elements (other than the
main sequence) within p:timing.
Inherited Members
Namespace: DRIT.Presentation.Animation
Assembly: DRIT.Presentation.dll
Syntax
public class SequenceCollection : ISequenceCollection, IEnumerable<ISequence>, IEnumerable
Properties
Count
Gets the number of interactive sequences.
Declaration
public int Count { get; }
Property Value
| Type | Description |
|---|---|
| int |
this[int]
Gets the sequence at the specified index.
Declaration
public Sequence this[int index] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| int | index |
Property Value
| Type | Description |
|---|---|
| Sequence |
Methods
Add()
Creates and adds a new empty interactive sequence.
Declaration
public Sequence Add()
Returns
| Type | Description |
|---|---|
| Sequence | The newly created sequence. |
Add(Sequence)
Adds the specified sequence to the collection.
Declaration
public void Add(Sequence sequence)
Parameters
| Type | Name | Description |
|---|---|---|
| Sequence | sequence |
Add(IShape)
Creates and adds a new interactive sequence triggered by the specified shape.
Declaration
public Sequence Add(IShape triggerShape)
Parameters
| Type | Name | Description |
|---|---|---|
| IShape | triggerShape |
Returns
| Type | Description |
|---|---|
| Sequence |
Clear()
Removes all sequences from the collection.
Declaration
public void Clear()
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<ISequence> GetEnumerator()
Returns
| Type | Description |
|---|---|
| IEnumerator<ISequence> | An enumerator that can be used to iterate through the collection. |
Remove(Sequence)
Removes the specified sequence.
Declaration
public bool Remove(Sequence sequence)
Parameters
| Type | Name | Description |
|---|---|---|
| Sequence | sequence |
Returns
| Type | Description |
|---|---|
| bool |
RemoveAt(int)
Removes the sequence at the specified index.
Declaration
public void RemoveAt(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index |