ASPxSiteMapControlBase.RepeatDirection Property
Gets or sets the direction in which nodes are displayed within the site map control.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
[DefaultValue(RepeatDirection.Vertical)]
public RepeatDirection RepeatDirection { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Repeat |
Vertical | One of the Repeat |
#Remarks
Use this property to specify the display direction of nodes within the site map control which contains more than one column. The number of columns displayed is specified by the ASPxSiteMapControlBase.ColumnCount property.
If this property is set to Vertical, the nodes in the site map control are displayed vertically in columns from top to bottom, and then left to right, until all nodes are rendered. For instance, if the ASPxSiteMapControlBase.ColumnCount property is set to 4, the nodes in the site map control are displayed in four columns, as in the following image.
If this property is set to Horizontal, the nodes are displayed horizontally in rows from left to right, then top to bottom, until all nodes are rendered. For instance, if the ASPxSiteMapControlBase.ColumnCount property is set to 4, the nodes of the site map control are displayed in rows of four items each, as in the image below.