英語で読む 編集

次の方法で共有


ListViewAlignment Enum

Definition

Specifies how items align in the ListView.

C#
public enum ListViewAlignment
Inheritance
ListViewAlignment

Fields

Name Value Description
Default 0

When the user moves an item, it remains where it is dropped.

Left 1

Items are aligned to the left of the ListView control.

Top 2

Items are aligned to the top of the ListView control.

SnapToGrid 5

Items are aligned to an invisible grid in the control. When the user moves an item, it moves to the closest juncture in the grid.

Remarks

Use the members of this enumeration to set the value of the Alignment property and the ArrangeIcons method of the ListView control.

Applies to

製品 バージョン
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

See also