ComboBox.ItemContainerStyle Property
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets the style applied to the container generated for each item in the combo box.
Assembly: System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.
<ComboBox> <ComboBox.ItemContainerStyle> inlineStyle </ComboBox.ItemContainerStyle> </ComboBox>
<ComboBox ItemContainerStyle="styleReference"/>
XAML Values
Property Value
Type: System.Windows.StyleThe style applied to the container generated for each item in the combo box.
Dependency property identifier field: ItemContainerStyleProperty
You can use the ItemContainerStyle to provide a custom appearance for combo box items listed in the drop-down portion. This style does not apply to the selected item displayed in the text box.
Show: