GroupStyle.ContainerStyleSelector property

Applies to Windows and Windows Phone

[ContainerStyleSelector may be altered or unavailable for releases after Windows 8.1 and is not supported for ItemsControl.GroupStyle.]

Gets or sets a reference to a custom StyleSelector logic class. The StyleSelector referenced by this property returns a style to apply to each generated GroupItem.

Syntax


public StyleSelector ContainerStyleSelector { get; set; }


<GroupStyle ContainerStyleSelector="styleSelectorReference" />

XAML Values

styleSelectorReference

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

Property value

Type: StyleSelector

An object that derives from StyleSelector. The default is null.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

End of client support

Windows 8.1

End of server support

Windows Server 2012 R2

Namespace

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

Metadata

Windows.winmd

See also

GroupStyle

 

 

Show:
© 2014 Microsoft