GroupStyle.ContainerStyleSelector Свойство

Определение

Примечание

ContainerStyleSelector может быть изменен или недоступен для выпусков после Windows 8.1 и не поддерживается для ItemsControl.GroupStyle.

Возвращает или задает ссылку на пользовательский класс логики StyleSelector . StyleSelector, на который ссылается это свойство, возвращает стиль, применяемый к каждому созданному элементу GroupItem.

/// [get: Windows.Foundation.Metadata.Deprecated("ContainerStyleSelector may be altered or unavailable for releases after Windows 8.1, and is not supported for ItemsControl.GroupStyle.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
/// [set: Windows.Foundation.Metadata.Deprecated("ContainerStyleSelector may be altered or unavailable for releases after Windows 8.1, and is not supported for ItemsControl.GroupStyle.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
StyleSelector ContainerStyleSelector();

void ContainerStyleSelector(StyleSelector value);
/// [get: Windows.Foundation.Metadata.Deprecated("ContainerStyleSelector may be altered or unavailable for releases after Windows 8.1, and is not supported for ItemsControl.GroupStyle.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
/// [set: Windows.Foundation.Metadata.Deprecated("ContainerStyleSelector may be altered or unavailable for releases after Windows 8.1, and is not supported for ItemsControl.GroupStyle.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
StyleSelector ContainerStyleSelector();

void ContainerStyleSelector(StyleSelector value);
public StyleSelector ContainerStyleSelector { [Windows.Foundation.Metadata.Deprecated("ContainerStyleSelector may be altered or unavailable for releases after Windows 8.1, and is not supported for ItemsControl.GroupStyle.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))] get; [Windows.Foundation.Metadata.Deprecated("ContainerStyleSelector may be altered or unavailable for releases after Windows 8.1, and is not supported for ItemsControl.GroupStyle.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))] set; }
public StyleSelector ContainerStyleSelector { [Windows.Foundation.Metadata.Deprecated("ContainerStyleSelector may be altered or unavailable for releases after Windows 8.1, and is not supported for ItemsControl.GroupStyle.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")] get; [Windows.Foundation.Metadata.Deprecated("ContainerStyleSelector may be altered or unavailable for releases after Windows 8.1, and is not supported for ItemsControl.GroupStyle.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")] set; }
var styleSelector = groupStyle.containerStyleSelector;
groupStyle.containerStyleSelector = styleSelector;
Public Property ContainerStyleSelector As StyleSelector
<GroupStyle ContainerStyleSelector="styleSelectorReference" />

Значение свойства

Объект, производный от StyleSelector. Значение по умолчанию — NULL.

Атрибуты

Применяется к