ClassOfficeNavigationBarDialogViewModel
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
OfficeNavigationBarDialogViewModel(IEnumerable<ItemWrapper>, bool)
Initializes a new instance of the OfficeNavigationBarDialogViewModel class.
Declaration
public OfficeNavigationBarDialogViewModel(IEnumerable<ItemWrapper> items, bool isInCompactMode)
Parameters
items
isInCompactMode
Properties
DecreaseItemsMaxCountCommand
Gets or sets a command that decreases the maximum items count.
Declaration
public ICommand DecreaseItemsMaxCountCommand { get; set; }
Property Value
IncreaseItemsMaxCountCommand
Gets or sets a command that increases the maximum items count.
Declaration
public ICommand IncreaseItemsMaxCountCommand { get; set; }
Property Value
IsCompactModeCheckBoxVisible
Gets or sets a boolean value indicating whether the CheckBox for switching to Compact mode will be visible.
Declaration
public bool IsCompactModeCheckBoxVisible { get; set; }
Property Value
IsInCompactMode
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.
Items
Gets or sets the items displayed in the OfficeNavigationBarDialogListBox.
Declaration
public RadObservableCollection<ItemWrapper> Items { get; }
Property Value
ItemsMaxCount
Gets or sets the current maximum items that will be displayed in the RadOfficeNavigationBar.
MoveItemDownCommand
Gets or sets a command that moves the SelectedItem of the OfficeNavigationBarDialogListBox down.
Declaration
public ICommand MoveItemDownCommand { get; set; }
Property Value
MoveItemUpCommand
Gets or sets a command that moves the SelectedItem of the OfficeNavigationBarDialogListBox up.
Declaration
public ICommand MoveItemUpCommand { get; set; }
Property Value
ResetCommand
Gets or sets a command that resets the changes made in the OfficeNavigationBarDialog.
SelectedItem
Gets or sets the OfficeNavigationBarDialogListBox SelectedItem.