New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

This Class gets or sets the settings in the SiteMapListLayout.

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public class SiteMapListLayoutSetting : ObjectWithState

Inheritance: objectObjectWithStateSiteMapListLayoutSetting

Inherited Members object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Constructors

C#
public SiteMapListLayoutSetting(string keyPrefix, StateBag ownerViewState)
Parameters:keyPrefixstringownerViewStateStateBag

Properties

Gets or sets the align rows.

C#
public bool AlignRows { get; set; }
Property Value:

The align rows.

Gets or sets the number of columns to display on this level.

C#
public int RepeatColumns { get; set; }

Specifies the number of columns which are displayed for a given level. For example, if it set to 3, the nodes in the level are displayed in three columns.

Gets or sets whether the columns are repeated vertically or horizontally

C#
public SiteMapRepeatDirection RepeatDirection { get; set; }

When this property is set to Vertical, nodes are displayed vertically in columns from top to bottom, and then left to right, until all nodes are rendered.

When this property is set to Horizontal, nodes are displayed horizontally in rows from left to right, then top to bottom, until all nodes are rendered.