[]
        
(Showing Draft Content)

C1.Framework.IconSet

IconSet Class

Represents the set of icons of different sizes to use in a single UI element.

Namespace: C1.Framework
Assembly: C1.Win.4.8.dll
Syntax
public class IconSet : KeyedCollection<Size, C1Icon>, IList<C1Icon>, ICollection<C1Icon>, IList, ICollection, IReadOnlyList<C1Icon>, IReadOnlyCollection<C1Icon>, IEnumerable<C1Icon>, IEnumerable, INotifyCollectionChanged, ICloneable

Constructors

Name Description
IconSet()

Methods

Name Description
ClearItems()
Clone()

Creates a new object that is a deep copy of the current instance.

Equals(object)

Indicates whether the specified object is a IconSet and contains the same set of icons as this icon set.

GetHashCode()
GetKeyForItem(C1Icon)
GetNextAvailableIcon(Size)

Gets the next available icon of the requested size. If the icon of requested size is available in the icon set, it will be returned. Otherwise, the icon of the next bigger size will be returned (or the biggest one icon of requested size is too big).

InsertItem(int, C1Icon)
OnCollectionChanged(NotifyCollectionChangedAction, int, C1Icon)
ReadXml(XmlNode)

Reads this IconSet from an XmlReader.

RemoveItem(int)
WriteXml(XmlWriter, string)

Writes this IconSet into an XmlWriter.

Events

Name Description
CollectionChanged

Occurs when the collection changes.