menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class BordersCollection - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class BordersCollection

    Represent a Borders collection.

    Inheritance
    System.Object
    CollectionBase<IBorder>
    CollectionBaseEx<IBorder>
    BordersCollection
    Implements
    System.Collections.Generic.IList<IBorder>
    System.Collections.Generic.ICollection<IBorder>
    System.Collections.Generic.IEnumerable<IBorder>
    ICloneParent
    IBorders
    System.Collections.IEnumerable
    IParentApplication
    Inherited Members
    CollectionBase<IBorder>.Add(IBorder)
    CollectionBase<IBorder>.Capacity
    CollectionBase<IBorder>.Clear()
    CollectionBase<IBorder>.Contains(IBorder)
    CollectionBase<IBorder>.CopyTo(IBorder[], Int32)
    CollectionBase<IBorder>.Count
    CollectionBase<IBorder>.GetEnumerator()
    CollectionBase<IBorder>.IndexOf(IBorder)
    CollectionBase<IBorder>.InnerList
    CollectionBase<IBorder>.Insert(Int32, IBorder)
    CollectionBase<IBorder>.IsReadOnly
    CollectionBase<IBorder>.Item[Int32]
    CollectionBase<IBorder>.List
    CollectionBase<IBorder>.Remove(IBorder)
    CollectionBase<IBorder>.RemoveAt(Int32)
    CollectionBaseEx<IBorder>.add_Cleared(CollectionBaseEx.CollectionClear<>)
    CollectionBaseEx<IBorder>.add_Clearing(CollectionBaseEx.CollectionClear<>)
    CollectionBaseEx<IBorder>.add_Inserted(CollectionBaseEx.CollectionChange<>)
    CollectionBaseEx<IBorder>.add_Inserting(CollectionBaseEx.CollectionChange<>)
    CollectionBaseEx<IBorder>.add_Removed(CollectionBaseEx.CollectionChange<>)
    CollectionBaseEx<IBorder>.add_Removing(CollectionBaseEx.CollectionChange<>)
    CollectionBaseEx<IBorder>.add_Set(CollectionBaseEx.CollectionSet<>)
    CollectionBaseEx<IBorder>.add_Setting(CollectionBaseEx.CollectionSet<>)
    CollectionBaseEx<IBorder>.AppImplementation
    CollectionBaseEx<IBorder>.Application
    CollectionBaseEx<IBorder>.Changed
    CollectionBaseEx<IBorder>.ChangeName(IDictionary, ValueChangedEventArgs)
    CollectionBaseEx<IBorder>.Cleared
    CollectionBaseEx<IBorder>.Clearing
    CollectionBaseEx<IBorder>.ClearMaxValues()
    CollectionBaseEx<IBorder>.Clone(Object)
    CollectionBaseEx<IBorder>.EnsureCapacity(Int32)
    CollectionBaseEx<IBorder>.FindParent(Type)
    CollectionBaseEx<IBorder>.FindParent(Type, Boolean)
    CollectionBaseEx<IBorder>.GenerateDefaultName(ICollection<IBorder>, String)
    CollectionBaseEx<IBorder>.GenerateDefaultName(ICollection, String)
    CollectionBaseEx<IBorder>.GenerateDefaultName(String, ICollection[])
    CollectionBaseEx<IBorder>.Inserted
    CollectionBaseEx<IBorder>.Inserting
    CollectionBaseEx<IBorder>.OnClear()
    CollectionBaseEx<IBorder>.OnClearComplete()
    CollectionBaseEx<IBorder>.OnInsert(Int32, IBorder)
    CollectionBaseEx<IBorder>.OnInsertComplete(Int32, IBorder)
    CollectionBaseEx<IBorder>.OnRemove(Int32, IBorder)
    CollectionBaseEx<IBorder>.OnRemoveComplete(Int32, IBorder)
    CollectionBaseEx<IBorder>.OnSet(Int32, IBorder, IBorder)
    CollectionBaseEx<IBorder>.OnSetComplete(Int32, IBorder, IBorder)
    CollectionBaseEx<IBorder>.Parent
    CollectionBaseEx<IBorder>.QuietMode
    CollectionBaseEx<IBorder>.remove_Cleared(CollectionBaseEx.CollectionClear<>)
    CollectionBaseEx<IBorder>.remove_Clearing(CollectionBaseEx.CollectionClear<>)
    CollectionBaseEx<IBorder>.remove_Inserted(CollectionBaseEx.CollectionChange<>)
    CollectionBaseEx<IBorder>.remove_Inserting(CollectionBaseEx.CollectionChange<>)
    CollectionBaseEx<IBorder>.remove_Removed(CollectionBaseEx.CollectionChange<>)
    CollectionBaseEx<IBorder>.remove_Removing(CollectionBaseEx.CollectionChange<>)
    CollectionBaseEx<IBorder>.remove_Set(CollectionBaseEx.CollectionSet<>)
    CollectionBaseEx<IBorder>.remove_Setting(CollectionBaseEx.CollectionSet<>)
    CollectionBaseEx<IBorder>.Removed
    CollectionBaseEx<IBorder>.Removing
    CollectionBaseEx<IBorder>.Set
    CollectionBaseEx<IBorder>.SetParent(Object)
    CollectionBaseEx<IBorder>.Setting
    Namespace: Syncfusion.XlsIO.Implementation.Collections
    Assembly: Syncfusion.XlsIO.Portable.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
    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
    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
    IBorder

    LineStyle

    Gets or sets the line style for the border. Read / write ExcelLineStyle.

    Declaration
    public ExcelLineStyle LineStyle { get; set; }
    Property Value
    Type
    ExcelLineStyle

    Value

    Synonym for Borders.LineStyle. Read / write ExcelLineStyle.

    Declaration
    public ExcelLineStyle Value { get; set; }
    Property Value
    Type
    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.

    GetHashCode()

    Generates hash code for BordersCollection.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32

    Hash code of the BorderCollection.

    Implements

    System.Collections.Generic.IList<>
    System.Collections.Generic.ICollection<>
    System.Collections.Generic.IEnumerable<>
    ICloneParent
    IBorders
    System.Collections.IEnumerable
    IParentApplication
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved