Class ExcelThemeFillStyles
Defines fill styles for a theme.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: OfficeOpenXml.Drawing.Theme
Assembly: EPPlus.dll
Syntax
public class ExcelThemeFillStyles : XmlHelper, IEnumerable<ExcelDrawingFill>, IEnumerable
Properties
Count
Number of items in the collection
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Item[Int32]
Indexer for the collection
Declaration
public ExcelDrawingFill this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index |
Property Value
Type | Description |
---|---|
ExcelDrawingFill | The fill |
Methods
Add(eFillStyle)
Adds a new fill to the collection
Declaration
public ExcelDrawingFill Add(eFillStyle style)
Parameters
Type | Name | Description |
---|---|---|
eFillStyle | style | The fill style |
Returns
Type | Description |
---|---|
ExcelDrawingFill | The fill |
GetEnumerator()
Get the enumerator for the Theme
Declaration
public IEnumerator<ExcelDrawingFill> GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerator<ExcelDrawingFill> | The enumerator |
Remove(ExcelDrawingFill)
Remove a fill item
Declaration
public void Remove(ExcelDrawingFill item)
Parameters
Type | Name | Description |
---|---|---|
ExcelDrawingFill | item | The item |
Remove(Int32)
Remove the item at the specified index
Declaration
public void Remove(int Index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | Index |
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.IEnumerator |
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable