Class ConditionalStyleCollection
Contains the conditional regions defined by a table style.
Implements
Inherited Members
Namespace: DRIT.Document.Tables
Assembly: DRIT.Document.dll
Syntax
public sealed class ConditionalStyleCollection : Collection<ConditionalStyle>, IList<ConditionalStyle>, ICollection<ConditionalStyle>, IList, ICollection, IReadOnlyList<ConditionalStyle>, IReadOnlyCollection<ConditionalStyle>, IEnumerable<ConditionalStyle>, IEnumerable
Properties
this[ConditionalStyleType]
Gets this[conditional style type].
Declaration
public ConditionalStyle this[ConditionalStyleType type] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| ConditionalStyleType | type |
Property Value
| Type | Description |
|---|---|
| ConditionalStyle |
Methods
Add(ConditionalStyleType)
Adds the specified item to this collection.
Declaration
public ConditionalStyle Add(ConditionalStyleType type)
Parameters
| Type | Name | Description |
|---|---|---|
| ConditionalStyleType | type | The type used by the operation. |
Returns
| Type | Description |
|---|---|
| ConditionalStyle | The resulting value. |
Contains(ConditionalStyleType)
Provides the contains behavior for this object.
Declaration
public bool Contains(ConditionalStyleType type)
Parameters
| Type | Name | Description |
|---|---|---|
| ConditionalStyleType | type | The type used by the operation. |
Returns
| Type | Description |
|---|---|
| bool | The resulting value. |
InsertItem(int, ConditionalStyle)
Describes the conditional Style Collection configuration.
Declaration
protected override void InsertItem(int index, ConditionalStyle item)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The zero-based index of the item. |
| ConditionalStyle | item | The item to use for the operation. |
Overrides
Remove(ConditionalStyleType)
Removes an item from this collection.
Declaration
public bool Remove(ConditionalStyleType type)
Parameters
| Type | Name | Description |
|---|---|---|
| ConditionalStyleType | type | The type used by the operation. |
Returns
| Type | Description |
|---|---|
| bool | The resulting value. |
SetItem(int, ConditionalStyle)
Describes the conditional Style Collection configuration.
Declaration
protected override void SetItem(int index, ConditionalStyle item)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The zero-based index of the item. |
| ConditionalStyle | item | The item to use for the operation. |