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

Definition

Namespace:Kendo.Mvc

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class SiteMapNodeBuilder

Inheritance: objectSiteMapNodeBuilder

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

Constructors

Initializes a new instance of the SiteMapNodeBuilder class.

C#
public SiteMapNodeBuilder(SiteMapNode siteMapNode)
Parameters:siteMapNodeSiteMapNode

The site map node.

Methods

Sets the action to which the date should navigate

C#
public SiteMapNodeBuilder Action(RouteValueDictionary routeValues)
Parameters:routeValuesRouteValueDictionary

The route values of the Action method.

Returns:

SiteMapNodeBuilder

Sets the action, controller and route values.

C#
public virtual SiteMapNodeBuilder Action(string actionName, string controllerName, object routeValues)
Parameters:actionNamestring

Name of the action.

controllerNamestring

Name of the controller.

routeValuesobject

The route values.

Returns:

SiteMapNodeBuilder

Sets the action, controller and route values.

C#
public virtual SiteMapNodeBuilder Action(string actionName, string controllerName, RouteValueDictionary routeValues)
Parameters:actionNamestring

Name of the action.

controllerNamestring

Name of the controller.

routeValuesRouteValueDictionary

The route values.

Returns:

SiteMapNodeBuilder

Sets the action and controller.

C#
public virtual SiteMapNodeBuilder Action(string actionName, string controllerName)
Parameters:actionNamestring

Name of the action.

controllerNamestring

Name of the controller.

Returns:

SiteMapNodeBuilder

Expression based controllerAction.

C#
public virtual SiteMapNodeBuilder Action<TController>(Expression<Action<TController>> controllerAction) where TController : Controller
Parameters:controllerActionExpression<Action<TController>>

The action.

Returns:

SiteMapNodeBuilder

Sets the attributes

C#
public virtual SiteMapNodeBuilder Attributes(IDictionary<string, object> value)
Parameters:valueIDictionary<string, object>

The value.

Returns:

SiteMapNodeBuilder

Sets the attributes

C#
public virtual SiteMapNodeBuilder Attributes(object value)
Parameters:valueobject

The value.

Returns:

SiteMapNodeBuilder

Executes the provided delegate to configure the child node.

C#
public virtual SiteMapNodeBuilder ChildNodes(Action<SiteMapNodeFactory> addActions)
Parameters:addActionsAction<SiteMapNodeFactory>

The add actions.

Returns:

SiteMapNodeBuilder

Marks an item that it would be included in the search engine index.

C#
public virtual SiteMapNodeBuilder IncludeInSearchEngineIndex(bool value)
Parameters:valuebool

if set to true [value].

Returns:

SiteMapNodeBuilder

Sets the Lasts the modified date..

C#
public virtual SiteMapNodeBuilder LastModifiedAt(DateTime value)
Parameters:valueDateTime

The value.

Returns:

SiteMapNodeBuilder

Sets the route.

C#
public virtual SiteMapNodeBuilder Route(string routeName, object routeValues)
Parameters:routeNamestring

Name of the route.

routeValuesobject

The route values.

Returns:

SiteMapNodeBuilder

Sets the route.

C#
public virtual SiteMapNodeBuilder Route(string routeName, RouteValueDictionary routeValues)
Parameters:routeNamestring

Name of the route.

routeValuesRouteValueDictionary

The route values.

Returns:

SiteMapNodeBuilder

Sets the route.

C#
public virtual SiteMapNodeBuilder Route(string routeName)
Parameters:routeNamestring

Name of the route.

Returns:

SiteMapNodeBuilder

Sets the title.

C#
public virtual SiteMapNodeBuilder Title(string value)
Parameters:valuestring

The value.

Returns:

SiteMapNodeBuilder

Sets the url.

C#
public virtual SiteMapNodeBuilder Url(string value)
Parameters:valuestring

The value.

Returns:

SiteMapNodeBuilder

Sets the visibility.

C#
public virtual SiteMapNodeBuilder Visible(bool value)
Parameters:valuebool

if set to true [value].

Returns:

SiteMapNodeBuilder

Operators

Performs an implicit conversion from SiteMapNodeBuilder to SiteMapNode.

C#
public static implicit operator SiteMapNode(SiteMapNodeBuilder builder)
Parameters:builderSiteMapNodeBuilder

The builder.

Returns:

SiteMapNode

The result of the conversion.