RelatedImageListAttribute(String) Constructor

Definición

Inicializa una nueva instancia de la clase RelatedImageListAttribute.

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)

Parámetros

relatedImageList
String

Nombre de ImageList con la que se relaciona la propiedad.

Comentarios

El relatedImageList parámetro puede hacer referencia a una propiedad del objeto actual o a una propiedad de una propiedad del objeto actual. Por ejemplo, si tiene un ListViewItem objeto con una ListView propiedad establecida en un objeto contenedor ListView y el objeto contenedor ListView tiene una SmallImageList propiedad, podría pasar "ListView.SmallImageList" como valor relatedImageList .

Se aplica a