RadMenuSeparatorItem
Represents a separator item in a RadMenu, providing a visual break between menu items. The RadMenuSeparatorItem class extends RadMenuItem and is intended for use within navigation menus. It initializes as a separator with no menu text or value, ensuring a clear distinction between items. This class overrides the default style key property and handles visual states based on the orientation of the menu (either horizontal or vertical). The separator itself does not display an icon and adapts accordingly to the menu's orientation.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.Navigation.dll
Syntax:
[TelerikToolboxCategory("Navigation")]
public class RadMenuSeparatorItem : RadMenuItem, ICommandSource
Inheritance: objectRadMenuItemRadMenuSeparatorItem
Implements:
Inherited Members
Constructors
Initializes a new instance of the RadMenuSeparatorItem class without menu text or a value.
public RadMenuSeparatorItem()
Methods
Updates the visual state of the control.
protected override void ChangeVisualState(bool useTransitions)
Indicates whether transitions should be used.
Overrides:
OnCreateAutomationPeer()
AutomationPeer
Provides an appropriate RadMenuItemAutomationPeer implementation for this control, as part of the automation infrastructure.
protected override AutomationPeer OnCreateAutomationPeer()
AutomationPeer
Overrides: