ControlExtensions.ItemsSource method (1 of 6)
Sets the items source.
public static ComboBox ItemsSource(this ComboBox comboBox, ISelectableItemsView itemsSource)| parameter | description |
|---|---|
| comboBox | Target combo box. |
| itemsSource | Items source. |
Return Value
Section titled “Return Value”The combo box for chaining.
Sets: ComboBox.ItemsSource, ItemsControl.ItemsSource, ListBox.ItemsSource, SegmentedBase.ItemsSource, TreeView.ItemsSource
See Also
Section titled “See Also”- class ComboBox
- interface ISelectableItemsView
- class ControlExtensions
- namespace Aprillz.MewUI.Controls
ControlExtensions.ItemsSource method (2 of 6)
Section titled “ControlExtensions.ItemsSource method (2 of 6)”Sets the items source.
public static ItemsControl ItemsSource(this ItemsControl itemsControl, IItemsView itemsSource)| parameter | description |
|---|---|
| itemsControl | Target items control. |
| itemsSource | Items source. |
Return Value
Section titled “Return Value”The items control for chaining.
See Also
Section titled “See Also”- class ItemsControl
- interface IItemsView
- class ControlExtensions
- namespace Aprillz.MewUI.Controls
ControlExtensions.ItemsSource method (3 of 6)
Section titled “ControlExtensions.ItemsSource method (3 of 6)”Sets the items source.
public static ListBox ItemsSource(this ListBox listBox, ISelectableItemsView itemsSource)| parameter | description |
|---|---|
| listBox | Target list box. |
| itemsSource | Items source. |
Return Value
Section titled “Return Value”The list box for chaining.
See Also
Section titled “See Also”- class ListBox
- interface ISelectableItemsView
- class ControlExtensions
- namespace Aprillz.MewUI.Controls
ControlExtensions.ItemsSource method (4 of 6)
Section titled “ControlExtensions.ItemsSource method (4 of 6)”Sets the items source.
public static TreeView ItemsSource(this TreeView treeView, IReadOnlyList<TreeViewNode> items)| parameter | description |
|---|---|
| treeView | Target tree view. |
| items | Items collection. |
Return Value
Section titled “Return Value”The tree view for chaining.
See Also
Section titled “See Also”- class TreeView
- class TreeViewNode
- class ControlExtensions
- namespace Aprillz.MewUI.Controls
ControlExtensions.ItemsSource method (5 of 6)
Section titled “ControlExtensions.ItemsSource method (5 of 6)”Sets the items source directly from an ITreeItemsView.
public static TreeView ItemsSource(this TreeView treeView, ITreeItemsView itemsView)| parameter | description |
|---|---|
| treeView | Target tree view. |
| itemsView | The tree items view. |
Return Value
Section titled “Return Value”The tree view for chaining.
See Also
Section titled “See Also”- class TreeView
- interface ITreeItemsView
- class ControlExtensions
- namespace Aprillz.MewUI.Controls
ControlExtensions.ItemsSource<TSelf> method (6 of 6)
Section titled “ControlExtensions.ItemsSource<TSelf> method (6 of 6)”Sets the items source.
public static TSelf ItemsSource<TSelf>(this TSelf control, ISelectableItemsView itemsSource) where TSelf : SegmentedBase| parameter | description |
|---|---|
| control | Target segmented control. |
| itemsSource | Items source. |
Return Value
Section titled “Return Value”The control for chaining.
See Also
Section titled “See Also”- interface ISelectableItemsView
- class SegmentedBase
- class ControlExtensions
- namespace Aprillz.MewUI.Controls