Class
OfficeNavigationBarDialogViewModel

The view model for the OfficeNavigationBarDialog.

Definition

Namespace:Telerik.Windows.Controls.OfficeNavigationBar

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

cs-api-definition
public class OfficeNavigationBarDialogViewModel : ViewModelBase, INotifyPropertyChanged, IDisposable

Inheritance: objectViewModelBaseOfficeNavigationBarDialogViewModel

Implements: IDisposableINotifyPropertyChanged

Inherited Members ViewModelBase.VerifyPropertyName(string)ViewModelBase.InvokeOnUIThread(Action)ViewModelBase.Dispose()ViewModelBase.RaisePropertyChanged(string)ViewModelBase.OnPropertyChanged(string)ViewModelBase.OnPropertyChanged<T>(Expression<Func<T>>)ViewModelBase.Dispose(bool)ViewModelBase.PropertyChanged

Constructors

OfficeNavigationBarDialogViewModel(IEnumerable<ItemWrapper>, bool)

Initializes a new instance of the OfficeNavigationBarDialogViewModel class.

Declaration

cs-api-definition
public OfficeNavigationBarDialogViewModel(IEnumerable<ItemWrapper> items, bool isInCompactMode)

Parameters

items

IEnumerable<ItemWrapper>

isInCompactMode

bool

Properties

DecreaseItemsMaxCountCommand

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

Declaration

cs-api-definition
public ICommand DecreaseItemsMaxCountCommand { get; set; }

Property Value

ICommand

IncreaseItemsMaxCountCommand

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

Declaration

cs-api-definition
public ICommand IncreaseItemsMaxCountCommand { get; set; }

Property Value

ICommand

IsCompactModeCheckBoxVisible

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

Declaration

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

Property Value

bool

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.

Declaration

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

Property Value

bool

Items

Gets or sets the items displayed in the OfficeNavigationBarDialogListBox.

Declaration

cs-api-definition
public RadObservableCollection<ItemWrapper> Items { get; }

Property Value

RadObservableCollection<ItemWrapper>

ItemsMaxCount

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

Declaration

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

Property Value

int

MoveItemDownCommand

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

Declaration

cs-api-definition
public ICommand MoveItemDownCommand { get; set; }

Property Value

ICommand

MoveItemUpCommand

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

Declaration

cs-api-definition
public ICommand MoveItemUpCommand { get; set; }

Property Value

ICommand

ResetCommand

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

Declaration

cs-api-definition
public ICommand ResetCommand { get; set; }

Property Value

ICommand

SelectedItem

Gets or sets the OfficeNavigationBarDialogListBox SelectedItem.

Declaration

cs-api-definition
public object SelectedItem { get; set; }

Property Value

object