BehaviorPropertyCollection
BehaviorPropertyCollection class
表示效果行为的时间属性。
public class BehaviorPropertyCollection : IBehaviorPropertyCollection
Properties
| Name | Description |
|---|
| Count { get; } | 返回存储在集合中的属性数量。只读 Int32。 |
| IsReadOnly { get; } | 获取一个值,指示 ICollection 是否为只读。只读 Boolean。 |
| Item { get; set; } | 返回指定索引处的属性。 |
Methods
| Name | Description |
|---|
| Add(IBehaviorProperty) | 向集合中添加新属性。 |
| Add(string) | 向集合中添加新属性。 |
| Clear() | 从集合中删除所有属性。 |
| Contains(IBehaviorProperty) | 确定 ICollection 是否包含特定值。 |
| Contains(string) | 确定 ICollection 是否包含特定值。 |
| CopyTo(IBehaviorProperty[], int) | 将 ICollection 的元素复制到数组,从特定数组索引开始。 |
| GetEnumerator() | 返回一个枚举器,该枚举器遍历集合。 |
| IndexOf(IBehaviorProperty) | 确定 IList 中特定项的索引。 |
| IndexOf(string) | 确定 IList 中按属性值查找的特定项的索引。 |
| Insert(int, IBehaviorProperty) | 在指定索引处向集合插入新属性。 |
| Insert(int, string) | 在指定索引处向集合插入新属性(带有指定的属性值)。 |
| Remove(IBehaviorProperty) | 从集合中删除指定属性。 |
| Remove(string) | 从集合中删除指定属性。 |
| RemoveAt(int) | 删除指定索引处的属性。 |
See Also