콘텐츠로 이동

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.

The combo box for chaining.

Sets: ComboBox.ItemsSource, ItemsControl.ItemsSource, ListBox.ItemsSource, SegmentedBase.ItemsSource, TreeView.ItemsSource


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.

The items control for chaining.


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.

The list box for chaining.


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.

The tree view for chaining.


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.

The tree view for chaining.


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.

The control for chaining.