WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface IHTMLFormatsCollection - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Interface IHTMLFormatsCollection

    An interface IHTMLFormatsCollection.

    Inherited Members
    System.Collections.IList.Add(System.Object)
    System.Collections.IList.Contains(System.Object)
    System.Collections.IList.Clear()
    System.Collections.IList.IndexOf(System.Object)
    System.Collections.IList.Insert(System.Int32, System.Object)
    System.Collections.IList.Remove(System.Object)
    System.Collections.IList.RemoveAt(System.Int32)
    System.Collections.IList.IsReadOnly
    System.Collections.IList.IsFixedSize
    IHTMLCollection.Parent
    System.Collections.ICollection.CopyTo(System.Array, System.Int32)
    System.Collections.ICollection.Count
    System.Collections.ICollection.SyncRoot
    System.Collections.ICollection.IsSynchronized
    System.Collections.IEnumerable.GetEnumerator()
    Namespace: Syncfusion.Windows.Forms.HTMLUI
    Assembly: Syncfusion.HTMLUI.Windows.dll
    Syntax
    public interface IHTMLFormatsCollection : IList, IHTMLCollection, ICollection, IEnumerable

    Properties

    Item[Int32]

    Gets or sets the format for the specified index. Type safe override.

    Declaration
    IHTMLFormat this[int index] { get; set; }
    Parameters
    Type Name Description
    System.Int32 index

    index value

    Property Value
    Type Description
    IHTMLFormat

    Item[String]

    Gets or sets the format for the specified element name. Name is case insensitive.

    Declaration
    IHTMLFormat this[string name] { get; set; }
    Parameters
    Type Name Description
    System.String name

    string name value

    Property Value
    Type Description
    IHTMLFormat

    Methods

    Add(IHTMLFormat)

    Adds the format to the collection.

    Declaration
    int Add(IHTMLFormat format)
    Parameters
    Type Name Description
    IHTMLFormat format

    Reference to the format.

    Returns
    Type Description
    System.Int32

    Index of the format in the array.

    AddRange(IHTMLFormat[])

    Adds the array of formats to the collection.

    Declaration
    void AddRange(IHTMLFormat[] formats)
    Parameters
    Type Name Description
    IHTMLFormat[] formats

    Array of formats.

    Contains(IHTMLFormat)

    Overloaded. Indicates whether the collection contains the specified format.

    Declaration
    bool Contains(IHTMLFormat format)
    Parameters
    Type Name Description
    IHTMLFormat format

    Format reference for check.

    Returns
    Type Description
    System.Boolean

    TRUE if collection contains the format; FALSE otherwise.

    Contains(String)

    Indicates whether the collection contains the format with the specified name.

    Declaration
    bool Contains(string name)
    Parameters
    Type Name Description
    System.String name

    Case insensitive name of the format.

    Returns
    Type Description
    System.Boolean

    TRUE if collection contains the format; FALSE otherwise.

    IndexOf(IHTMLFormat)

    Overloaded. Returns the index of the format. If the collection does not contain the format -1 is returned.

    Declaration
    int IndexOf(IHTMLFormat format)
    Parameters
    Type Name Description
    IHTMLFormat format

    Format whose index is needed.

    Returns
    Type Description
    System.Int32

    Zero based index of format; -1 otherwise.

    IndexOf(String)

    Returns the index of the format with the specified name.

    Declaration
    int IndexOf(string name)
    Parameters
    Type Name Description
    System.String name

    Case insensitive name of the format.

    Returns
    Type Description
    System.Int32

    Zero based index of the format; -1 otherwise.

    Remove(IHTMLFormat)

    Overloaded. Removes the format from the collection, if it belongs to it.

    Declaration
    void Remove(IHTMLFormat format)
    Parameters
    Type Name Description
    IHTMLFormat format

    Format whose reference must be removed from the collection.

    Remove(String)

    Removes the format with the specified name.

    Declaration
    void Remove(string name)
    Parameters
    Type Name Description
    System.String name

    Case insensitive name of the format which must be removed.

    Extension Methods

    EnumerableExtensions.GetElementType(IEnumerable)
    EnumerableExtensions.GetItemPropertyInfo(IEnumerable)
    FunctionalExtensions.ForEach<T>(IEnumerable, Action<T>)
    FunctionalExtensions.ToList<T>(IEnumerable)
    FunctionalExtensions.MoveTo(IList, Int32, Int32)
    QueryableExtensions.OfQueryable(IEnumerable)
    QueryableExtensions.OfQueryable(IEnumerable, Type)
    QueryableExtensions.GroupByMany<TElement>(IEnumerable, Type, List<Func<TElement, Object>>)
    QueryableExtensions.GroupByMany(IEnumerable, Type, Func<String, Expression>, String[])
    QueryableExtensions.GroupByMany(IEnumerable, Type, List<SortDescriptor>, Dictionary<String, IComparer<Object>>, Func<String, Expression>, String[])
    QueryableExtensions.GroupByMany(IEnumerable, Type, List<SortDescriptor>, Func<String, Expression>, String[])
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved