Class
RadOfficeNavigationBar

The RadOfficeNavigationBar class represents a navigation bar that facilitates seamless navigation between various views within an application. It allows users to access a streamlined subset of a view in a popup window, dynamically manages the visibility of items through an , and provides extensive customization options via the OfficeNavigationBarDialog. The class supports features such as drag-and-drop reordering of items, compact mode for displaying minimal content, and peek popups for contextual information. The navigation bar enhances the user experience by providing intuitive keyboard navigation, responsive item selection, and automated handling of item visibility based on the available space. Overall, it serves as an effective tool for organizing and presenting content in a user-friendly manner.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

cs-api-definition
[TelerikToolboxCategory("Navigation")]
[SuppressMessage("Microsoft.Design", "CA1001:TypesThatOwnDisposableFieldsShouldBeDisposable")]
public class RadOfficeNavigationBar : Selector

Inheritance: objectRadOfficeNavigationBar

Constructors

RadOfficeNavigationBar()

Initializes a new instance of the RadOfficeNavigationBar class.

Declaration

cs-api-definition
public RadOfficeNavigationBar()

Fields

IsDragReorderEnabledProperty

Identifies the IsDragReorderEnabled dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsDragReorderEnabledProperty

Field Value

DependencyProperty

IsInCompactModeProperty

Identifies the IsInCompactMode dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsInCompactModeProperty

Field Value

DependencyProperty

IsPeekPopupEnabledProperty

Identifies the IsPeekPopupEnabled dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsPeekPopupEnabledProperty

Field Value

DependencyProperty

ItemOrientationProperty

Identifies the ItemOrientation dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ItemOrientationProperty

Field Value

DependencyProperty

ItemRotationAngleProperty

Identifies the ItemRotationAngle dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ItemRotationAngleProperty

Field Value

DependencyProperty

ItemsMaxCountProperty

Identifies the ItemsMaxCount dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ItemsMaxCountProperty

Field Value

DependencyProperty

OrientationProperty

Identifies the Orientation dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty OrientationProperty

Field Value

DependencyProperty

PeekPopupCloseDelayProperty

Identifies the PeekPopupCloseDelay dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty PeekPopupCloseDelayProperty

Field Value

DependencyProperty

PeekPopupOpeningEvent

Registers the PeekPopupOpening routed event.

Declaration

cs-api-definition
public static readonly RoutedEvent PeekPopupOpeningEvent

Field Value

RoutedEvent

PeekPopupShowDelayProperty

Identifies the PeekPopupShowDelay dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty PeekPopupShowDelayProperty

Field Value

DependencyProperty

Properties

IsDragReorderEnabled

Gets or sets a boolean value indicating whether drag and drop reordering of items is enabled.

Declaration

cs-api-definition
public bool IsDragReorderEnabled { get; set; }

Property Value

bool

IsInCompactMode

Gets or sets a boolean value indicating whether the control is in Compact mode. In that mode only the compact content of the items will be visible.

Declaration

cs-api-definition
public bool IsInCompactMode { get; set; }

Property Value

bool

IsPeekPopupEnabled

Gets or sets a boolean value indicating whether a peek popup will be shown upon hovering an item.

Declaration

cs-api-definition
public bool IsPeekPopupEnabled { get; set; }

Property Value

bool

ItemOrientation

Gets or sets the orientation in which each individual RadOfficeNavigationBarItem will be displayed.

Declaration

cs-api-definition
public Orientation ItemOrientation { get; set; }

Property Value

Orientation

ItemRotationAngle

Gets the angle the items are rotated by.

Declaration

cs-api-definition
public double ItemRotationAngle { get; }

Property Value

double

ItemsMaxCount

Gets or sets an integer value identifying the maximum number of items that will be displayed at a time.

Declaration

cs-api-definition
public int ItemsMaxCount { get; set; }

Property Value

int

OfficeNavigationBarDialogViewModel

Gets the view model for the OfficeNavigationBarDialog control.

Declaration

cs-api-definition
public OfficeNavigationBarDialogViewModel OfficeNavigationBarDialogViewModel { get; }

Property Value

OfficeNavigationBarDialogViewModel

Orientation

Gets or sets the orientation in which all the RadOfficeNavigationBarItems will be displayed.

Declaration

cs-api-definition
public Orientation Orientation { get; set; }

Property Value

Orientation

PeekPopupCloseDelay

Gets or sets an double value indicating the delay time in milliseconds between when the mouse leaves the item and when the peek popup is closed.

Declaration

cs-api-definition
public double PeekPopupCloseDelay { get; set; }

Property Value

double

PeekPopupShowDelay

Gets or sets an double value indicating the delay time in milliseconds between when an item is hovered and when the peek popup is shown.

Declaration

cs-api-definition
public double PeekPopupShowDelay { get; set; }

Property Value

double

Methods

ClearContainerForItemOverride(DependencyObject, object)

Clears the specified element displaying the specified item container.

Declaration

cs-api-definition
protected override void ClearContainerForItemOverride(DependencyObject element, object item)

Parameters

element

DependencyObject

Element used to display the specified item.

item

object

Specified item.

GetContainerForItemOverride()

Creates or identifies the element that is used to display the given item.

Declaration

cs-api-definition
protected override DependencyObject GetContainerForItemOverride()

Returns

DependencyObject

IsItemItsOwnContainerOverride(object)

Determines if the specified item is (or is eligible to be) its own container.

Declaration

cs-api-definition
protected override bool IsItemItsOwnContainerOverride(object item)

Parameters

item

object

The item to check.

Returns

bool

True if the item is (or is eligible to be) its own container; otherwise, false.

OnApplyTemplate()

Called when the template for the RadOfficeNavigationBar is applied. This method is used to perform any necessary setup after the control's template is applied.

Declaration

cs-api-definition
public override void OnApplyTemplate()

OnCreateAutomationPeer()

Returns class-specific AutomationPeer.

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

The type-specific AutomationPeer implementation.

OnInitialized(EventArgs)

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

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.

OnItemsChanged(NotifyCollectionChangedEventArgs)

Declaration

cs-api-definition
protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)

Parameters

e

NotifyCollectionChangedEventArgs

OnKeyDown(KeyEventArgs)

Declaration

cs-api-definition
protected override void OnKeyDown(KeyEventArgs e)

Parameters

e

KeyEventArgs

OnSelectionChanged(SelectionChangedEventArgs)

Declaration

cs-api-definition
protected override void OnSelectionChanged(SelectionChangedEventArgs e)

Parameters

e

SelectionChangedEventArgs

PrepareContainerForItemOverride(DependencyObject, object)

Prepares the specified element to display the specified item container.

Declaration

cs-api-definition
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)

Parameters

element

DependencyObject

Element used to display the specified item.

item

object

Specified item.

ResetTheme()

Resets the theme.

Declaration

cs-api-definition
public void ResetTheme()

Events

PeekPopupOpening

Occurs when a peek popup is about to be shown.

Declaration

cs-api-definition
public event EventHandler<PeekPopupOpeningEventArgs> PeekPopupOpening

Event Value

EventHandler<PeekPopupOpeningEventArgs>