Share via


4.439 ItemsControl

x:Object > DependencyObject > Visual > UIElement > FrameworkElement > Control > ItemsControl, IInputElement

DataGridCellsPresenter DataGridColumnHeadersPresenter HeaderedItemsControl MenuBase Selector StatusBar TreeView

(usage)

<ItemsControl>x:Object*</ItemsControl>

(description)

Represents a control that can be used to present a collection of items.

[content property]

Items

[name property]

Name

[xml lang property]

Language

(properties)

AlternationCount

x:Int32

(description)

The number of alternating item containers in the ItemsControl, which enables alternating containers to have a unique appearance.

DisplayMemberPath

x:String

(description)

A path to a value on the source object to serve as the visual representation of the object.

GroupStyle

ObservableCollection(GroupStyle)

(description)

A collection of GroupStyle objects that define the appearance of each level of groups.

[read only]

true

IsTextSearchCaseSensitive (4)

x:Boolean

(description)

A value that indicates whether case is a condition when searching for items.

IsTextSearchEnabled

x:Boolean

(description)

A value that indicates whether TextSearch is enabled on the ItemsControl instance.

ItemBindingGroup

BindingGroup

(description)

The BindingGroup that is copied to each item in the ItemsControl.

ItemContainerStyle

Style

(description)

The Style that is applied to the container element generated for each item.

ItemContainerStyleSelector

StyleSelector

(description)

Custom style-selection logic for a style that can be applied to each generated container element.

Items

ItemCollection

(description)

The collection used to generate the content of the ItemsControl.

[read only]

true

ItemsPanel

ItemsPanelTemplate

(description)

The template that defines the panel that controls the layout of items.

ItemsSource

IEnumerable

(description)

A collection used to generate the content of the ItemsControl.

ItemStringFormat

x:String

(description)

A composite string that specifies how to format the items in the ItemsControl if they are displayed as strings.

ItemTemplate

DataTemplate

(description)

The DataTemplate used to display each item.

ItemTemplateSelector

DataTemplateSelector

(description)

The custom logic for choosing a template used to display each item.

(attachable properties)

ItemsControl.AlternationIndex

x:Int32

(description)

The assigned value of the item container when alternating item containers are used.

[target type]

DependencyObject