SiteMapPath.PathSeparatorStyle Property

Definition

Gets the style used for the PathSeparator string.

C#
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)]
public System.Web.UI.WebControls.Style PathSeparatorStyle { get; }

Property Value

The Style that contains the style settings of the SiteMapPath control's PathSeparator text.

Attributes

Remarks

Use the PathSeparatorStyle property to control the appearance of the path separator that appears between navigation path nodes. Common style settings include font properties and a foreground color for the font used by the PathSeparator property.

If a PathSeparatorTemplate property is defined, both the PathSeparator and PathSeparatorStyle properties are ignored.

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also