SiteMapLevelSetting
This Class defines the SiteMapLevelSetting.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
[TypeConverter(typeof(ExpandableObjectConverter))]
public class SiteMapLevelSetting : StateManager, IMarkableStateManager, IStateManager
Inheritance: objectStateManagerSiteMapLevelSetting
Derived Classes:
Implements:
Inherited Members
Constructors
public SiteMapLevelSetting()
[SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public SiteMapLevelSetting(int level, SiteMapLayout layout)
Properties
Gets or sets the URL to an image which is displayed next to all the nodes of a given level
public string ImageUrl { get; set; }
The URL to the image to display for all the nodes of a given level. The default value is empty string which means by default no image is displayed.
Use the ImageUrl property to specify a custom image that will be displayed before the text of the current node.
Gets or sets the layout mode that is applied to a given LevelSetting. By default is set to List
public SiteMapLayout Layout { get; set; }
Gets or sets the level to which a given LevelSetting refer/
public virtual int Level { get; set; }
The Level property serves for explicitly setting the level to which a given LevelSetting refer.
Gets the Specific settings for the List layout mode.
[PersistenceMode(PersistenceMode.InnerProperty)]
public SiteMapListLayoutSetting ListLayout { get; }
The list layout.
Gets or sets the maximum nodes that are allowed for a given level.
public int MaximumNodes { get; set; }
Use the MaximumNodes property to explicitly state how many nodes should be rendered
for a given level.
Gets or sets the template for displaying the nodes on the specified level.
[TemplateContainer(typeof(RadSiteMapNode))]
[PersistenceMode(PersistenceMode.InnerProperty)]
[Browsable(false)]
[Bindable(false)]
public ITemplate NodeTemplate { get; set; }
An object implementing the ITemplate interface. The default value is a null reference (Nothing in Visual Basic), which indicates that this property is not set.
To specify template for a single node use the NodeTemplate property of the RadSiteMapNode control.
Gets or sets the separator template for nodes on the specified level.
[TemplateContainer(typeof(RadSiteMapNode))]
[PersistenceMode(PersistenceMode.InnerProperty)]
[Browsable(false)]
[Bindable(false)]
public ITemplate SeparatorTemplate { get; set; }
An object implementing the ITemplate interface. The default value is a null reference (Nothing in Visual Basic), which indicates that this property is not set.
To specify separator template for a single node use the SeparatorTemplate property of the RadSiteMapNode control.
The separator is rendered only in Flow mode.
Gets or sets the separator text that is going to be used to separate nodes in Flow layout mode.
public string SeparatorText { get; set; }
A string value that is used to separate nodes when the LevelSetting layout mode is set to Flow.