RelatedImageListAttribute(String) Konstruktor

Definice

Inicializuje novou instanci RelatedImageListAttribute třídy.

public:
 RelatedImageListAttribute(System::String ^ relatedImageList);
public RelatedImageListAttribute (string relatedImageList);
new System.Windows.Forms.RelatedImageListAttribute : string -> System.Windows.Forms.RelatedImageListAttribute
Public Sub New (relatedImageList As String)

Parametry

relatedImageList
String

Název ImageList vlastnosti se vztahuje.

Poznámky

Parametr relatedImageList může odkazovat na vlastnost aktuálního objektu nebo vlastnost vlastnosti aktuálního objektu. Například pokud máte ListViewItem objekt s vlastností nastavenou ListView na objekt obsahující ListView a obsahující ListView objekt má SmallImageList vlastnost, můžete předat "ListView.SmallImageList" jako relatedImageList hodnotu.

Platí pro