ConditionalStyleCollection
Overview
ConditionalStyleCollection is a class in Aspose.Words FOSS for .NET.
Inherits from: IEnumerable<ConditionalStyle>.
Represents a collection of ConditionalStyle objects.
This class provides 2 methods for working with ConditionalStyleCollection objects in .NET programs.
Available methods include: ClearFormatting, GetEnumerator.
All public members are accessible to any .NET application after installing the Aspose.Words FOSS for .NET package.
Properties: BottomLeftCell, BottomRightCell, Count, EvenColumnBanding, EvenRowBanding, FirstColumn, and 7 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Count | int | Read | Gets the number of conditional styles in the collection. |
FirstRow | ConditionalStyle | Read | Gets the first row style. |
FirstColumn | ConditionalStyle | Read | Gets the first column style. |
LastRow | ConditionalStyle | Read | Gets the last row style. |
LastColumn | ConditionalStyle | Read | Gets the last column style. |
OddRowBanding | ConditionalStyle | Read | Gets the odd row banding style. |
OddColumnBanding | ConditionalStyle | Read | Gets the odd column banding style. |
EvenRowBanding | ConditionalStyle | Read | Gets the even row banding style. |
EvenColumnBanding | ConditionalStyle | Read | Gets the even column banding style. |
TopLeftCell | ConditionalStyle | Read | Gets the top left cell style. |
TopRightCell | ConditionalStyle | Read | Gets the top right cell style. |
BottomLeftCell | ConditionalStyle | Read | Gets the bottom left cell style. |
BottomRightCell | ConditionalStyle | Read | Gets the bottom right cell style. |
Methods
| Signature | Description |
|---|---|
ClearFormatting() | Clears all conditional styles of the table style. |
GetEnumerator() | Returns an enumerator object that can be used to iterate over all conditional styles in the collection. |