menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface IStyleCollection - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Interface IStyleCollection

    Style collection interface.

    Inherited Members
    ICollectionBase.IndexOf(IEntityBase)
    System.Collections.ICollection.CopyTo(System.Array, System.Int32)
    System.Collections.ICollection.Count
    System.Collections.ICollection.IsSynchronized
    System.Collections.ICollection.SyncRoot
    System.Collections.IEnumerable.GetEnumerator()
    System.Collections.IList.Add(System.Object)
    System.Collections.IList.Clear()
    System.Collections.IList.Contains(System.Object)
    System.Collections.IList.IndexOf(System.Object)
    System.Collections.IList.Insert(System.Int32, System.Object)
    System.Collections.IList.IsFixedSize
    System.Collections.IList.IsReadOnly
    System.Collections.IList.Remove(System.Object)
    System.Collections.IList.RemoveAt(System.Int32)
    Namespace: Syncfusion.DLS
    Assembly: Syncfusion.DLS.Base.dll
    Syntax
    public interface IStyleCollection : ICollectionBase, IList, ICollection, IEnumerable

    Properties

    Item[Int32]

    Get style by index

    Declaration
    IStyle this[int index] { get; }
    Parameters
    Type Name Description
    System.Int32 index
    Property Value
    Type
    IStyle

    Methods

    Add(IStyle)

    Adds new style

    Declaration
    int Add(IStyle style)
    Parameters
    Type Name Description
    IStyle style
    Returns
    Type
    System.Int32

    FindByName(String)

    Finds style by style name

    Declaration
    IStyle FindByName(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type
    IStyle

    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 - 2025 Syncfusion Inc. All Rights Reserved