New to Telerik UI for WPF? Start a free 30-day trial

Represents an item in a RadOfficeNavigationBar control that provides a peek popup feature for additional content display. This class derives from the class and implements the IThemable interface. It includes several dependency properties such as PeekPopupContent for the content of the peek popup, PeekPopupContentTemplate to define its data template, and PeekPopupStyle for its visual style. The item supports functionality for displaying and closing the peek popup based on mouse and key events, offering a responsive navigation experience.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

C#
[TelerikToolboxCategory("Navigation")]
public class RadOfficeNavigationBarItem : ButtonBase

Inheritance: objectRadOfficeNavigationBarItem

Constructors

Initializes a new instance of the RadOfficeNavigationBarItem class.

C#
public RadOfficeNavigationBarItem()

Fields

CompactContentProperty

DependencyProperty

Identifies the CompactContent dependency property.

C#
public static readonly DependencyProperty CompactContentProperty

Identifies the CompactContentTemplate dependency property.

C#
public static readonly DependencyProperty CompactContentTemplateProperty

Identifies the CompactContentTemplateSelector dependency property.

C#
public static readonly DependencyProperty CompactContentTemplateSelectorProperty

IsSelectedProperty

DependencyProperty

Identifies the IsSelected dependency property.

C#
public static readonly DependencyProperty IsSelectedProperty

MenuIconProperty

DependencyProperty

Identifies the MenuIcon dependency property.

C#
public static readonly DependencyProperty MenuIconProperty

MenuIconTemplateProperty

DependencyProperty

Identifies the MenuIconTemplate dependency property.

C#
public static readonly DependencyProperty MenuIconTemplateProperty

PeekPopupContentProperty

DependencyProperty

Identifies the PeekPopupContent dependency property.

C#
public static readonly DependencyProperty PeekPopupContentProperty

Identifies the PeekPopupContentStringFormat dependency property.

C#
public static readonly DependencyProperty PeekPopupContentStringFormatProperty

Identifies the PeekPopupContentTemplate dependency property.

C#
public static readonly DependencyProperty PeekPopupContentTemplateProperty

Identifies the PeekPopupContentTemplateSelector dependency property.

C#
public static readonly DependencyProperty PeekPopupContentTemplateSelectorProperty

PeekPopupStyleProperty

DependencyProperty

Identifies the PeekPopupStyle dependency property.

C#
public static readonly DependencyProperty PeekPopupStyleProperty

Properties

Gets or sets the CompactContent that appears in a RadNavigationViewItem. This is a dependency property.

C#
[SRCategory("Appearance")]
public object CompactContent { get; set; }

Gets or sets the data template used for CompactContent in a RadNavigationViewItem. This is a dependency property.

C#
[SRCategory("Appearance")]
public DataTemplate CompactContentTemplate { get; set; }

CompactContentTemplateSelector

DataTemplateSelector

Gets or sets the data template selector used for CompactContent in a RadNavigationViewItem. This is a dependency property.

C#
[SRCategory("Appearance")]
public DataTemplateSelector CompactContentTemplateSelector { get; set; }

Gets or sets a value indicating whether this instance is selected. This is a dependency property.

C#
public bool IsSelected { get; set; }

Gets or sets an object that will be transferred to the Icon property of the overflow items inside the OverflowMenu. This is a dependency property.

C#
public object MenuIcon { get; set; }

MenuIconTemplate

DataTemplate

Gets or sets a DataTemplate instance that will be transferred to the IconTemplate property of the overflow items inside the OverflowMenu. This is a dependency property.

C#
public DataTemplate MenuIconTemplate { get; set; }

Gets or sets the content of the peek popup. This is a dependency property.

C#
public object PeekPopupContent { get; set; }

Gets or sets the ContentStringFormat of the peek popup. This is a dependency property.

C#
public string PeekPopupContentStringFormat { get; set; }

Gets or sets the ContentTemplate of the peek popup. This is a dependency property.

C#
public DataTemplate PeekPopupContentTemplate { get; set; }

Gets or sets the ContentTemplateSelector of the peek popup. This is a dependency property.

C#
public DataTemplateSelector PeekPopupContentTemplateSelector { get; set; }

Gets or sets the Style of the peek popup. The style should target RadCallout. This is a dependency property.

C#
public Style PeekPopupStyle { get; set; }

Gets the position of this item in the current view.

C#
public int Position { get; }

Methods

Called when the template is applied to the RadOfficeNavigationBarItem. This method is responsible for initializing the visual elements of the control after the control's template has been applied.

C#
public override void OnApplyTemplate()

Returns class-specific AutomationPeer.

C#
protected override AutomationPeer OnCreateAutomationPeer()
Returns:

AutomationPeer

The type-specific AutomationPeer implementation.

Raises the event. This method is invoked whenever is set to true internally.

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.

Called when selection is changed.

C#
protected virtual void OnIsSelectedChanged()
C#
protected override void OnKeyDown(KeyEventArgs e)
Parameters:eKeyEventArgs
C#
protected override void OnKeyUp(KeyEventArgs e)
Parameters:eKeyEventArgs

Invoked when an unhandled System.Windows.Input.Mouse.MouseDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

C#
protected override void OnMouseDown(MouseButtonEventArgs e)
Parameters:eMouseButtonEventArgs

The System.Windows.Input.MouseButtonEventArgs that contains the event data. This event data reports details about the mouse button that was pressed and the handled state.

C#
protected override void OnMouseEnter(MouseEventArgs e)
Parameters:eMouseEventArgs
C#
protected override void OnMouseLeave(MouseEventArgs e)
Parameters:eMouseEventArgs

Resets the theme.

C#
public void ResetTheme()