Method PrependSeparator
PrependSeparator()
Inserts a separator item at the beginning of the menu item collection.
public virtual MenuItem PrependSeparator()
Returns
Remarks
Use this method to visually separate groups of menu items at the start of the menu. The separator is typically rendered as a horizontal line in most user interfaces.