Skip to main content
Tab

ASPxSiteMapControlBase.RepeatDirection Property

Gets or sets the direction in which nodes are displayed within the site map control.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(RepeatDirection.Vertical)]
public RepeatDirection RepeatDirection { get; set; }

Property Value

Type Default Description
RepeatDirection Vertical

One of the RepeatDirection enumeration values.

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.

SiteMapControl_RepeatDirection_Vertical.png

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.

SiteMapControl_RepeatDirection_Horizontal.png

See Also