ClassRadToolBarOverflowPanel
Represents a panel that arranges tool bar items in an overflow condition, managing the layout and visual organization of child elements. This class inherits from RadToolBarPanelBase and overrides the layout behaviors to arrange items either horizontally or vertically. It also handles mouse wheel events to prevent scrolling when the overflow menu is active.
Definition
Namespace:Telerik.Windows.Controls.ToolBar
Assembly:Telerik.Windows.Controls.Navigation.dll
Syntax:
public class RadToolBarOverflowPanel : RadToolBarPanelBase
Inheritance: objectRadToolBarPanelBaseRadToolBarOverflowPanel
Inherited Members
Constructors
RadToolBarOverflowPanel()
Initializes a new instance of the RadToolBarOverflowPanel class.
Declaration
public RadToolBarOverflowPanel()
Methods
ArrangeOverride(Size)
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
finalSize
Size
Returns
Size
OnMouseWheel(MouseWheelEventArgs)
Handles mouse wheel to avoid misleading scrolling outside of the menu. The menu itself does not implement scrollable items.
Declaration
protected override void OnMouseWheel(MouseWheelEventArgs e)
Parameters
e
MouseWheelEventArgs