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