RelatedImageListAttribute.RelatedImageList Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the name of the related ImageList

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public string RelatedImageList { get; }

Property Value

Type: System.String

The name of the related ImageList

The RelatedImageList property can refer to a property of the current object, or a property of a property of the current object. For example, if you have a ListViewItem object with a ListView property set to a containing ListView object, and the containing ListView object has an SmallImageList property, the RelatedImageList property would be set to "ListView.SmallImageList".

.NET Framework
Available since 2.0
Return to top