System.Web.UI.WebControls Namespace SiteMapPath Class
.NET Framework version 2.0
Sets or retrieves the style properties for the path separator in a SiteMapPath control.
Script |
SiteMapPath.PathSeparatorStyle.Property [ = enumValue ] |
A Style object that defines the style properties for the path separator in a SiteMapPath.
Use the PathSeparatorStyle property to specify the appearance of the path separator that is rendered between navigation path nodes in a SiteMapPath control. Common style attributes that can be set include forecolor, backcolor, font, and content alignment. Providing different node styles enhances the appearance of the SiteMapPath control.
The PathSeparatorStyle subproperties can be set declaratively using either of the following methods:
The subproperties can also be set programmatically in the form PathSeparatorStyle.Property.
NOTE: If a PathSeparatorTemplate property is defined, both the PathSeparator and PathSeparatorStyle properties are ignored.
For a list of style properties that can be set, see the Style class.
SiteMapPath Members