New to Telerik UI for WPFStart a free 30-day trial

Represents the DropDownListsSectionViewModel class.

Definition

Constructors

Constructs the DropDownListsSectionViewModel.

C#
public DropDownListsSectionViewModel(ComboBoxProperties comboBoxPropertiesProperties)
Parameters:comboBoxPropertiesPropertiesComboBoxProperties

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)
Parameters:listItemListItemViewModel

The item to be added.

Starts the editing cycle.

C#
public void BeginEdit()

Implements: IEditableObject.BeginEdit()

Finishes the editing cycle and reverts all the changes.

C#
public void CancelEdit()

Implements: IEditableObject.CancelEdit()

Finishes the editing cycle and retains all the changes.

C#
public void EndEdit()

Implements: IEditableObject.EndEdit()

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()