Class ZebraColor
Represents a pair of colors used for applying zebra background to table rows.
Inheritance
System.Object
ZebraColor
Namespace: IronWord.Models
Assembly: IronWord.dll
Syntax
public class ZebraColor : Object
Constructors
ZebraColor(Color, Color)
Initializes a new instance of the ZebraColor class with the specified colors.
Declaration
public ZebraColor(Color color1, Color color2)
Parameters
| Type | Name | Description |
|---|---|---|
| Color | color1 | The first color of the zebra pair. |
| Color | color2 | The second color of the zebra pair. |
ZebraColor(String, String)
Initializes a new instance of the ZebraColor class with the specified colors.
Declaration
public ZebraColor(string color1, string color2)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | color1 | The first color of the zebra pair. |
| System.String | color2 | The second color of the zebra pair. |
Properties
Color1
Gets or set the first color of the zebra pair.
Declaration
public Color Color1 { get; set; }
Property Value
| Type | Description |
|---|---|
| Color |
Color2
Gets or set the second color of the zebra pair.
Declaration
public Color Color2 { get; set; }
Property Value
| Type | Description |
|---|---|
| Color |