The view model for the OfficeNavigationBarDialog.
Definition
Namespace:Telerik.Windows.Controls.OfficeNavigationBar
Assembly:Telerik.Windows.Controls.Navigation.dll
Syntax:
public class OfficeNavigationBarDialogViewModel : ViewModelBase, INotifyPropertyChanged, IDisposable
Inheritance: objectViewModelBaseOfficeNavigationBarDialogViewModel
Implements:
Inherited Members
Constructors
Initializes a new instance of the OfficeNavigationBarDialogViewModel class.
public OfficeNavigationBarDialogViewModel(IEnumerable<ItemWrapper> items, bool isInCompactMode)
Properties
Gets or sets a command that decreases the maximum items count.
public ICommand DecreaseItemsMaxCountCommand { get; set; }
Gets or sets a command that increases the maximum items count.
public ICommand IncreaseItemsMaxCountCommand { get; set; }
Gets or sets a boolean value indicating whether the CheckBox for switching to Compact mode will be visible.
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.
public bool IsInCompactMode { get; set; }
Gets or sets the items displayed in the OfficeNavigationBarDialogListBox.
public RadObservableCollection<ItemWrapper> Items { get; }
Gets or sets the current maximum items that will be displayed in the RadOfficeNavigationBar.
public int ItemsMaxCount { get; set; }
Gets or sets a command that moves the SelectedItem of the OfficeNavigationBarDialogListBox down.
public ICommand MoveItemDownCommand { get; set; }
Gets or sets a command that moves the SelectedItem of the OfficeNavigationBarDialogListBox up.
public ICommand MoveItemUpCommand { get; set; }
Gets or sets a command that resets the changes made in the OfficeNavigationBarDialog.
public ICommand ResetCommand { get; set; }
Gets or sets the OfficeNavigationBarDialogListBox SelectedItem.
public object SelectedItem { get; set; }