Aether Utilities Aether Utilities
Aether Utilities Aether Utilities
DocFX + Singulink = ♥

Search Results for

    Edit this page

    Class IconListManager

    Namespace
    AetherUtils.Core.WinForms
    Assembly
    AetherUtils.Core.dll
    Maintains a list of currently added file extensions
    [UsedImplicitly]
    public sealed class IconListManager
    Inheritance
    object
    IconListManager
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Extension Methods
    TypeExtensions.CanSerializeJson<T>(T)
    TypeExtensions.CanSerializeXml<T>(T)
    TypeExtensions.SerializeJson<T>(T)
    TypeExtensions.SerializeXml<T>(T)

    Constructors

    IconListManager(ImageList, IconSize)

    Creates an instance of IconListManager that will add icons to a single ImageList using the specified IconSize.
    public IconListManager(ImageList imageList, IconReader.IconSize iconSize)

    Parameters

    imageList ImageList
    ImageList to add icons to.
    iconSize IconReader.IconSize
    Size to use (either 32 or 16 pixels).

    IconListManager(ImageList, ImageList)

    Creates an instance of IconListManager that will add icons to two ImageList types. The two image lists are intended to be one for large icons, and the other for small icons.
    public IconListManager(ImageList smallImageList, ImageList largeImageList)

    Parameters

    smallImageList ImageList
    The ImageList that will hold small icons.
    largeImageList ImageList
    The ImageList that will hold large icons.

    Methods

    AddFileIcon(string)

    Called publicly to add a file's icon to the ImageList.
    [UsedImplicitly]
    public int AddFileIcon(string filePath)

    Parameters

    filePath string
    Full path to the file.

    Returns

    int
    Integer of the icon's position in the ImageList

    ClearLists()

    Clears all ImageLists that IconListManager is managing.
    [UsedImplicitly]
    public void ClearLists()
    (c) 2024 Ethan Hann. All rights reserved.