ListView.Alignment Property

Definition

Obtiene o establece la alineación de los elementos del control.Gets or sets the alignment of items in the control.

public:
 property System::Windows::Forms::ListViewAlignment Alignment { System::Windows::Forms::ListViewAlignment get(); void set(System::Windows::Forms::ListViewAlignment value); };
public System.Windows.Forms.ListViewAlignment Alignment { get; set; }
member this.Alignment : System.Windows.Forms.ListViewAlignment with get, set
Public Property Alignment As ListViewAlignment

Property Value

ListViewAlignment

Uno de los valores de ListViewAlignment.One of the ListViewAlignment values. El valor predeterminado es Top.The default is Top.

Exceptions

El valor especificado no es ninguno de los valores de ListViewAlignment.The value specified is not one of the ListViewAlignment values.

Remarks

La propiedad Alignment solo afecta a la alineación cuando la propiedad View está establecida en LargeIcon o SmallIcon.The Alignment property only affects alignment when the View property is set to LargeIcon or SmallIcon.

Note

Esta propiedad no tiene ningún efecto cuando la propiedad View está establecida en List.This property has no effect with the View property is set to List.

Applies to

See also