Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

Menu::StaticTopSeparatorImageUrl Property

Gets or sets the URL to an image displayed as the separator at the top of each static menu item.

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public:
property String^ StaticTopSeparatorImageUrl {
	String^ get ();
	void set (String^ value);
}

Property Value

Type: System::String
The URL to an image displayed as the separator at the top of each static menu item. The default value is an empty string (""), which indicates that this property is not set.

Use the StaticTopSeparatorImageUrl property to specify a custom image to display at the top of each static menu item that acts as a separator between menu items.

NoteNote

As an alternative, you can also display a separator image at the bottom of each static menu item by setting the StaticBottomSeparatorImageUrl property.

The following code example demonstrates how to use the StaticTopSeparatorImageUrl property to specify a separator image to display at the top of each static menu item.

No code example is currently available or this language may not be supported.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft