New to Telerik UI for WPFStart a free 30-day trial

The view model for the OfficeNavigationBarDialog.

Definition

Constructors

Initializes a new instance of the OfficeNavigationBarDialogViewModel class.

C#
public OfficeNavigationBarDialogViewModel(IEnumerable<ItemWrapper> items, bool isInCompactMode)
Parameters:itemsIEnumerable<ItemWrapper>isInCompactModebool

Properties

Gets or sets a command that decreases the maximum items count.

C#
public ICommand DecreaseItemsMaxCountCommand { get; set; }

Gets or sets a command that increases the maximum items count.

C#
public ICommand IncreaseItemsMaxCountCommand { get; set; }

Gets or sets a boolean value indicating whether the CheckBox for switching to Compact mode will be visible.

C#
public bool IsCompactModeCheckBoxVisible { get; set; }

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

C#
public bool IsInCompactMode { get; set; }

Gets or sets the items displayed in the OfficeNavigationBarDialogListBox.

C#
public RadObservableCollection<ItemWrapper> Items { get; }

Gets or sets the current maximum items that will be displayed in the RadOfficeNavigationBar.

C#
public int ItemsMaxCount { get; set; }

Gets or sets a command that moves the SelectedItem of the OfficeNavigationBarDialogListBox down.

C#
public ICommand MoveItemDownCommand { get; set; }

Gets or sets a command that moves the SelectedItem of the OfficeNavigationBarDialogListBox up.

C#
public ICommand MoveItemUpCommand { get; set; }

Gets or sets a command that resets the changes made in the OfficeNavigationBarDialog.

C#
public ICommand ResetCommand { get; set; }

Gets or sets the OfficeNavigationBarDialogListBox SelectedItem.

C#
public object SelectedItem { get; set; }