ItemsControl.ItemContainerStyleSelector property

0 out of 2 rated this helpful - Rate this topic

Gets or sets a reference to a custom StyleSelector logic class. The StyleSelector returns different Style values to use for the item container based on characteristics of the object being displayed.

Syntax


public StyleSelector ItemContainerStyleSelector { get; set; }


<itemsControl ItemContainerStyleSelector="styleSelectorReference" />

XAML Values

styleSelectorReference

A reference to an existing StyleSelector. Typically this is a keyed resource, which you reference through a StaticResource markup extension usage.

Property value

Type: StyleSelector

A custom StyleSelector logic class.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Namespace

Windows.UI.Xaml.Controls
Windows::UI::Xaml::Controls [C++]

Metadata

Windows.winmd

See also

ItemsControl

 

 

Build date: 3/12/2013

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.