Partager via


IXRComboBox::GetItemContainerStyle (Windows Embedded CE 6.0)

1/6/2010

This method retrieves the style that is used when Silverlight for Windows Embedded renders the item containers.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetItemContainerStyle(
    IXRStyle **ppValue
) = 0;

Parameters

  • ppValue
    [out] Pointer to an IXRStyle pointer that, on return, describes a single style for all item container types. That style would typically have multiple IXRSetter objects that each set a visual property on the item container type that is being targeted. For IXRComboBox, that type is usually IXRComboBoxItem.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

The style that is described in ppValue is applied to each container item in this combo box. It provides the same property settings for a group of items in the pop-up list, such as background, foreground, border, height, width, and so on.

.NET Framework Equivalent

System.Windows.Controls.ComboBox.ItemContainerStyle

Requirements

Header XamlRuntime.h
sysgen SYSGEN_XAML_RUNTIME
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

IXRComboBox
IXRComboBox::SetItemContainerStyle