Represents the DropDownListsSectionViewModel class.
Definition
Namespace:Telerik.Windows.Controls.RichTextBoxUI.Dialogs
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
C#
public class DropDownListsSectionViewModel : ViewModelBase, INotifyPropertyChanged, IDisposable, IEditableObject
Inheritance: objectViewModelBaseDropDownListsSectionViewModel
Implements:
Inherited Members
Constructors
Constructs the DropDownListsSectionViewModel.
C#
public DropDownListsSectionViewModel(ComboBoxProperties comboBoxPropertiesProperties)
The combo box properties.
Properties
Gets or sets the items.
C#
public ObservableCollection<ListItemViewModel> Items { get; set; }
Gets or sets the selected item.
C#
public ListItemViewModel SelectedItem { get; set; }
Methods
Adds new list item.
C#
public void AddItem(ListItemViewModel listItem)
The item to be added.
Starts the editing cycle.
C#
public void BeginEdit()
Implements:
Finishes the editing cycle and reverts all the changes.
C#
public void CancelEdit()
Implements:
Finishes the editing cycle and retains all the changes.
C#
public void EndEdit()
Implements:
Moves the selected item down in the list.
C#
public void MoveSelectedItemDown()
Moves the selected item up in the list.
C#
public void MoveSelectedItemUp()
Removes the selected item.
C#
public void RemoveSelectedItem()