alexa
menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class ExtendedFormatsCollection

    Represents collection of all extended formats in the workbook.

    Inheritance
    object
    CollectionBase<ExtendedFormatImpl>
    CollectionBaseEx<ExtendedFormatImpl>
    ExtendedFormatsCollection
    Implements
    IList<ExtendedFormatImpl>
    ICollection<ExtendedFormatImpl>
    IEnumerable<ExtendedFormatImpl>
    IEnumerable
    IParentApplication
    ICloneParent
    Inherited Members
    CollectionBase<ExtendedFormatImpl>.Capacity
    CollectionBase<ExtendedFormatImpl>.Clear()
    CollectionBase<ExtendedFormatImpl>.Contains(ExtendedFormatImpl)
    CollectionBase<ExtendedFormatImpl>.CopyTo(ExtendedFormatImpl[], int)
    CollectionBase<ExtendedFormatImpl>.Count
    CollectionBase<ExtendedFormatImpl>.GetEnumerator()
    CollectionBase<ExtendedFormatImpl>.IndexOf(ExtendedFormatImpl)
    CollectionBase<ExtendedFormatImpl>.InnerList
    CollectionBase<ExtendedFormatImpl>.Insert(int, ExtendedFormatImpl)
    CollectionBase<ExtendedFormatImpl>.IsReadOnly
    CollectionBase<ExtendedFormatImpl>.List
    CollectionBase<ExtendedFormatImpl>.Remove(ExtendedFormatImpl)
    CollectionBaseEx<ExtendedFormatImpl>.AppImplementation
    CollectionBaseEx<ExtendedFormatImpl>.Application
    CollectionBaseEx<ExtendedFormatImpl>.Changed
    CollectionBaseEx<ExtendedFormatImpl>.ChangeName(IDictionary, ValueChangedEventArgs)
    CollectionBaseEx<ExtendedFormatImpl>.Cleared
    CollectionBaseEx<ExtendedFormatImpl>.Clearing
    CollectionBaseEx<ExtendedFormatImpl>.ClearMaxValues()
    CollectionBaseEx<ExtendedFormatImpl>.EnsureCapacity(int)
    CollectionBaseEx<ExtendedFormatImpl>.FindParent(Type)
    CollectionBaseEx<ExtendedFormatImpl>.FindParent(Type, bool)
    CollectionBaseEx<ExtendedFormatImpl>.GenerateDefaultName(ICollection<ExtendedFormatImpl>, string)
    CollectionBaseEx<ExtendedFormatImpl>.GenerateDefaultName(ICollection, string)
    CollectionBaseEx<ExtendedFormatImpl>.GenerateDefaultName(string, params ICollection[])
    CollectionBaseEx<ExtendedFormatImpl>.Inserted
    CollectionBaseEx<ExtendedFormatImpl>.Inserting
    CollectionBaseEx<ExtendedFormatImpl>.OnClear()
    CollectionBaseEx<ExtendedFormatImpl>.OnInsert(int, ExtendedFormatImpl)
    CollectionBaseEx<ExtendedFormatImpl>.OnInsertComplete(int, ExtendedFormatImpl)
    CollectionBaseEx<ExtendedFormatImpl>.OnRemove(int, ExtendedFormatImpl)
    CollectionBaseEx<ExtendedFormatImpl>.OnRemoveComplete(int, ExtendedFormatImpl)
    CollectionBaseEx<ExtendedFormatImpl>.OnSet(int, ExtendedFormatImpl, ExtendedFormatImpl)
    CollectionBaseEx<ExtendedFormatImpl>.OnSetComplete(int, ExtendedFormatImpl, ExtendedFormatImpl)
    CollectionBaseEx<ExtendedFormatImpl>.Parent
    CollectionBaseEx<ExtendedFormatImpl>.QuietMode
    CollectionBaseEx<ExtendedFormatImpl>.Removed
    CollectionBaseEx<ExtendedFormatImpl>.Removing
    CollectionBaseEx<ExtendedFormatImpl>.Set
    CollectionBaseEx<ExtendedFormatImpl>.SetParent(object)
    CollectionBaseEx<ExtendedFormatImpl>.Setting
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.XlsIO.Implementation.Collections
    Assembly: Syncfusion.XlsIO.NET.dll
    Syntax
    public class ExtendedFormatsCollection : CollectionBaseEx<ExtendedFormatImpl>, IList<ExtendedFormatImpl>, ICollection<ExtendedFormatImpl>, IEnumerable<ExtendedFormatImpl>, IEnumerable, IParentApplication, ICloneParent

    Constructors

    ExtendedFormatsCollection(IApplication, object)

    Creates collection and sets its Application and Parent values.

    Declaration
    public ExtendedFormatsCollection(IApplication application, object parent)
    Parameters
    Type Name Description
    IApplication application

    Application object that represents the Excel application.

    object parent

    Parent object of this collection.

    Properties

    this[int]

    Returns single entry from the collection. Read-only.

    Declaration
    public ExtendedFormatImpl this[int index] { get; }
    Parameters
    Type Name Description
    int index
    Property Value
    Type
    ExtendedFormatImpl

    ParentWorkbook

    Returns parent workbook object. Read-only.

    Declaration
    public WorkbookImpl ParentWorkbook { get; }
    Property Value
    Type
    WorkbookImpl

    Methods

    Add(ExtendedFormatImpl)

    Adds format into collection.

    Declaration
    public ExtendedFormatImpl Add(ExtendedFormatImpl format)
    Parameters
    Type Name Description
    ExtendedFormatImpl format

    Format to add.

    Returns
    Type Description
    ExtendedFormatImpl

    If there is same format in the collection, this method will return it; otherwise format that was passed as argument will be added.

    AddIndex(Dictionary<int, object>, IList<ExtendedFormatImpl>, int)

    Adds index to the collection.

    Declaration
    public void AddIndex(Dictionary<int, object> hashToAdd, IList<ExtendedFormatImpl> arrXFormats, int index)
    Parameters
    Type Name Description
    Dictionary<int, object> hashToAdd

    Dictionary to add index to.

    IList<ExtendedFormatImpl> arrXFormats

    List with extended formats.

    int index

    Index to add.

    Clone(object)

    Creates copy of the current instance.

    Declaration
    public override object Clone(object parent)
    Parameters
    Type Name Description
    object parent

    Parent object for the new collection.

    Returns
    Type Description
    object

    Copy of the current instance.

    Overrides
    CollectionBaseEx<ExtendedFormatImpl>.Clone(object)

    ForceAdd(ExtendedFormatImpl)

    Adds format into collection.

    Declaration
    public ExtendedFormatImpl ForceAdd(ExtendedFormatImpl format)
    Parameters
    Type Name Description
    ExtendedFormatImpl format

    Format to add.

    Returns
    Type Description
    ExtendedFormatImpl

    Format that was added.

    GatherTwoFormats(int, int)

    Gather two formats borders.

    Declaration
    public ExtendedFormatImpl GatherTwoFormats(int iFirstXF, int iEndXF)
    Parameters
    Type Name Description
    int iFirstXF

    First xf indexes to gathered.

    int iEndXF

    End xf indexes to gathered.

    Returns
    Type Description
    ExtendedFormatImpl

    Returns gathered two extended formats..

    Import(ExtendedFormatImpl, Dictionary<int, int>)

    Imports single extended format to the collection.

    Declaration
    public int Import(ExtendedFormatImpl format, Dictionary<int, int> hashExtFormatIndexes)
    Parameters
    Type Name Description
    ExtendedFormatImpl format

    Format to import.

    Dictionary<int, int> hashExtFormatIndexes

    Dictionary with new xf indexes, key - old xf index, value - new xf index.

    Returns
    Type Description
    int

    Index of the new format.

    Merge(IList<ExtendedFormatImpl>)

    Adds extended formats to the collection.

    Declaration
    public Dictionary<int, int> Merge(IList<ExtendedFormatImpl> arrXFormats)
    Parameters
    Type Name Description
    IList<ExtendedFormatImpl> arrXFormats

    Formats to add.

    Returns
    Type Description
    Dictionary<int, int>

    Dictionary with new indexes.

    Merge(IList<ExtendedFormatImpl>, out Dictionary<int, int>)

    Merges extended formats collection with formats from another collection.

    Declaration
    public Dictionary<int, int> Merge(IList<ExtendedFormatImpl> arrXFormats, out Dictionary<int, int> dicFontIndexes)
    Parameters
    Type Name Description
    IList<ExtendedFormatImpl> arrXFormats

    Collection to get formats from.

    Dictionary<int, int> dicFontIndexes

    Container for new font indexes.

    Returns
    Type Description
    Dictionary<int, int>

    Dictionary with new indexes.

    OnClearComplete()

    OnClear is invoked after Clear behavior.

    Declaration
    protected override void OnClearComplete()
    Overrides
    CollectionBaseEx<ExtendedFormatImpl>.OnClearComplete()

    RemoveAt(int)

    Removes item at the specified position.

    Declaration
    public Dictionary<int, int> RemoveAt(int xfIndex)
    Parameters
    Type Name Description
    int xfIndex

    Item to remove.

    Returns
    Type Description
    Dictionary<int, int>

    Dictionary with new xf indexes. key - old index value - new index. Only those formats that had parent index set to xfIndex will be placed in this dictionary.

    SetMaxCount(int)

    Sets maximum possible count of extended formats in the collections. Updates ParentIndex and overall number of extended formats if necessary.

    Declaration
    public void SetMaxCount(int maxCount)
    Parameters
    Type Name Description
    int maxCount

    New value of maximum possible extended formats.

    Implements

    IList<T>
    ICollection<T>
    IEnumerable<T>
    IEnumerable
    IParentApplication
    ICloneParent

    Extension Methods

    CalcEngineHelper.ToArray<T>(IEnumerable<T>)
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved