Class DropDownListsSectionViewModel
Represents the DropDownListsSectionViewModel class.
Inherited Members
Namespace: Telerik.Windows.Controls.RichTextBoxUI.Dialogs
Assembly: Telerik.Windows.Controls.RichTextBoxUI.dll
Syntax
public class DropDownListsSectionViewModel : ViewModelBase, INotifyPropertyChanged, IDisposable, IEditableObject
Constructors
DropDownListsSectionViewModel(ComboBoxProperties)
Constructs the DropDownListsSectionViewModel.
Declaration
public DropDownListsSectionViewModel(ComboBoxProperties comboBoxPropertiesProperties)
Parameters
ComboBoxProperties
comboBoxPropertiesProperties
The combo box properties. |
Properties
Items
Gets or sets the items.
Declaration
public ObservableCollection<ListItemViewModel> Items { get; set; }
Property Value
System.Collections.ObjectModel.ObservableCollection<ListItemViewModel>
|
SelectedItem
Gets or sets the selected item.
Declaration
public ListItemViewModel SelectedItem { get; set; }
Property Value
ListItemViewModel
|
Methods
AddItem(ListItemViewModel)
Adds new list item.
Declaration
public void AddItem(ListItemViewModel listItem)
Parameters
ListItemViewModel
listItem
The item to be added. |
BeginEdit()
Starts the editing cycle.
Declaration
public void BeginEdit()
CancelEdit()
Finishes the editing cycle and reverts all the changes.
Declaration
public void CancelEdit()
EndEdit()
Finishes the editing cycle and retains all the changes.
Declaration
public void EndEdit()
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()