SiteMapLevelSettingSeparatorTemplate Property |
Namespace: Kettic.AspNet.Controls
[PersistenceModeAttribute(PersistenceMode.InnerProperty)] 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 KaxSiteMapNode control.
The separator is rendered only in Flow mode.
The following template demonstrates how to add custom separator to a certain node.
ASPX:
<kettic: KaxSiteMap runat="server" ID="KaxSiteMap1"> <DefaultLevelSettings> <SeparatorTemplate> <asp:Image ID="Image1" runat="server" ImageUrl="MySeparator.gif"></asp:Image> </SeparatorTemplate> </DefaultLevelSettings> </kettic:KaxSiteMap>