ClassRadMenuSeparatorItem
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
RadMenuSeparatorItem()
Initializes a new instance of the RadMenuSeparatorItem class without menu text or a value.
Declaration
public RadMenuSeparatorItem()
Methods
ChangeVisualState(bool)
Updates the visual state of the control.
Declaration
protected override void ChangeVisualState(bool useTransitions)
Parameters
useTransitions
Indicates whether transitions should be used.
Overrides
OnCreateAutomationPeer()
Provides an appropriate RadMenuItemAutomationPeer implementation for this control, as part of the automation infrastructure.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
AutomationPeer
Overrides