MenuItemBinding.SeparatorImageUrl Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the URL to an image displayed below the text of a menu item (to separate it from other menu items) for a menu item to which the MenuItemBinding object is applied.
public:
property System::String ^ SeparatorImageUrl { System::String ^ get(); void set(System::String ^ value); };
public string SeparatorImageUrl { get; set; }
member this.SeparatorImageUrl : string with get, set
Public Property SeparatorImageUrl As String
The URL to an image displayed below the text of a menu item for a menu item to which the MenuItemBinding is applied.
When the Menu control is bound to a data source, use the SeparatorImageUrl property to specify the URL of a MenuItem.SeparatorImageUrl property of a MenuItem object. This URL is shared with all menu items to which the MenuItemBinding object is applied.
Poznámka
You can override the URL for an individual menu item by setting its SeparatorImageUrl property directly.
Instead of using this property to indicate the same URL in each menu item, you can also bind the SeparatorImageUrl property of a MenuItem object to a field of a data source by setting the SeparatorImageUrlField property. When rendered, the SeparatorImageUrl property of each menu item to which the MenuItemBinding object is applied contains the corresponding value from the field.
Poznámka
If the SeparatorImageUrl and SeparatorImageUrlField properties are both set, the SeparatorImageUrlField property takes precedence.
Produkt | Verzie |
---|---|
.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 |
Pripomienky k produktu .NET
.NET je open-source projekt. Ak chcete poskytnúť pripomienky, vyberte prepojenie: