Class BordersCollection
Represent a Borders
collection.
Implements
Inherited Members
Namespace: Syncfusion.XlsIO.Implementation.Collections
Assembly: Syncfusion.XlsIO.Base.dll
Syntax
public class BordersCollection : CollectionBaseEx<IBorder>, IList<IBorder>, ICollection<IBorder>, IEnumerable<IBorder>, ICloneParent, IBorders, IEnumerable, IParentApplication
Constructors
BordersCollection(IApplication, Object)
Creates collection and sets its application and parent properties.
Declaration
public BordersCollection(IApplication application, object parent)
Parameters
Type | Name | Description |
---|---|---|
IApplication | application | Application object for this collection. |
System.Object | parent | The parent object for this collection. |
Properties
Color
Returns or sets the primary color of the object. Read / write ExcelKnownColors.
Declaration
public ExcelKnownColors Color { get; set; }
Property Value
Type | Description |
---|---|
ExcelKnownColors |
ColorRGB
Returns or sets the primary color of the object. Use the RGB function to create a color value. Read / write ExcelKnownColors.
Declaration
public Color ColorRGB { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color |
Item[ExcelBordersIndex]
Gets a Border object that represents one of the borders of either a range of cells or a style. Read-only.
Declaration
public IBorder this[ExcelBordersIndex index] { get; }
Parameters
Type | Name | Description |
---|---|---|
ExcelBordersIndex | index |
Property Value
Type | Description |
---|---|
IBorder |
LineStyle
Gets or sets the line style for the border. Read / write ExcelLineStyle.
Declaration
public ExcelLineStyle LineStyle { get; set; }
Property Value
Type | Description |
---|---|
ExcelLineStyle |
Value
Synonym for Borders.LineStyle. Read / write ExcelLineStyle.
Declaration
public ExcelLineStyle Value { get; set; }
Property Value
Type | Description |
---|---|
ExcelLineStyle |
Methods
Equals(Object)
Checks whether both border collections are equal.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | Object to be compared. |
Returns
Type | Description |
---|---|
System.Boolean | True if both are equal. |
Overrides
GetHashCode()
Generates hash code for BordersCollection.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | Hash code of the BorderCollection. |