Class DropDownListsSectionViewModel
Inheritance
Inherited Members
Namespace: Telerik.WinForms.RichTextEditor.RichTextBoxUI.Dialogs
Assembly: Telerik.WinControls.RichTextEditor.dll
Syntax
public class DropDownListsSectionViewModel : ContentControlViewModel<ComboBoxProperties>, INotifyPropertyChanged, IEditableObject
Constructors
DropDownListsSectionViewModel(ComboBoxProperties)
Constructs the DropDownListsSectionViewModel.
Declaration
public DropDownListsSectionViewModel(ComboBoxProperties comboBoxProperties)
Parameters
ComboBoxProperties
comboBoxProperties
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. |
EndEdit()
Finishes the editing cycle and retains all the changes.
Declaration
public override void EndEdit()
Overrides
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()
SetInitialState()
Declaration
protected override void SetInitialState()