ListBoxMarkupExtensions.SelectionMode<T> method
Sets the selection mode; multi-selection needs an items source that supports it (e.g. created from a typed list), otherwise the mode stays Single.
public static T SelectionMode<T>(this T target, ItemsSelectionMode value) where T : ListBox| parameter | description |
|---|---|
| T | Receiver type. |
| target | Target ListBox. |
| value | Value assigned to SelectionMode. |
Return Value
Section titled “Return Value”The same element for chaining.
Sets: ListBox.SelectionMode
See Also
Section titled “See Also”- enum ItemsSelectionMode
- class ListBox
- class ListBoxMarkupExtensions
- namespace Aprillz.MewUI.Controls