Represents the element for an Office Navigation Bar that provides navigation functionality similar to Microsoft Outlook's
navigation pane. This element extends RadPageViewStripElement to offer specialized features including overflow
handling, context menus, customizable display styles, font options, and navigation options dialog integration.
public class RadOfficeNavigationBarElement : RadPageViewStripElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider
Gets or sets a value indicating whether to use compact font styling for navigation items. When true, items use
a smaller, more condensed font; when false, items use a larger, more prominent font for improved readability.
Declaration
public bool UseCompactFont { get; set; }
Property Value
Adds a new item to the navigation bar and ensures the overflow item is positioned correctly based on the
current OverflowItemPosition setting. Manages the layout of both regular items and the overflow item.
Declaration
protected override void AddItemCore(RadPageViewItem item)
Parameters
Overrides
Determines whether a drag operation can drop an item over the specified hit item. Prevents dropping items
over the overflow item while allowing normal drag-and-drop operations between regular navigation items.
Declaration
protected override bool CanDropOverItem(RadPageViewItem dragItem, RadPageViewItem hitItem)
Parameters
Returns
|
System.Boolean
True if the drop operation is allowed; otherwise, false.
|
Overrides
Closes the specified item if it's not the overflow item. The overflow item is a system item that cannot be closed
and provides access to hidden navigation items.
Declaration
protected override void CloseItem(RadPageViewItem item)
Parameters
Overrides
Handles click events on navigation items. For regular items, delegates to the base implementation for standard
click handling. For the overflow item, triggers the overflow menu display functionality.
Declaration
protected override void OnItemClick(RadPageViewItem sender, EventArgs e)
Parameters
|
RadPageViewItem
sender
The navigation item that was clicked.
|
|
System.EventArgs
e
The event arguments, expected to be System.Windows.Forms.MouseEventArgs for overflow item handling.
|
Overrides