RepeatInfo.RepeatDirection Property
In questo articolo
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that specifies whether the items are displayed vertically or horizontally.
public:
property System::Web::UI::WebControls::RepeatDirection RepeatDirection { System::Web::UI::WebControls::RepeatDirection get(); void set(System::Web::UI::WebControls::RepeatDirection value); };
public System.Web.UI.WebControls.RepeatDirection RepeatDirection { get; set; }
member this.RepeatDirection : System.Web.UI.WebControls.RepeatDirection with get, set
Public Property RepeatDirection As RepeatDirection
One of the RepeatDirection enumeration values.
The specified direction is not one of the RepeatDirection enumeration values.
Use the RepeatDirection property to specify the direction that the items are rendered.
Nota
The number of columns displayed is always determined by the RepeatColumns property.
If this property is set to RepeatDirection.Vertical
, the items in the list are displayed in columns loaded top to bottom, then left to right, until all items are rendered. For example, if the RepeatColumns property is set to 3
, the items are displayed in three columns, as in the following table.
Column 1 | Column 2 | Column 3 |
---|---|---|
1 | 4 | 7 |
2 | 5 | 8 |
3 | 6 | 9 |
If this property is set to RepeatDirection.Horizontal
, the items in the list are displayed in rows loaded left to right, then top to bottom, until all items are rendered. For example, if the RepeatColumns property is set to 3
, the items are displayed in rows of three items each, as in the following table.
Column 1 | Column 2 | Column 3 |
---|---|---|
1 | 2 | 3 |
4 | 5 | 6 |
7 | 8 | 9 |
Applies to
Prodotto | Versioni |
---|---|
.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 |
Feedback su .NET
.NET è un progetto di open source. Selezionare un collegamento per fornire feedback: