Compartir a través de


GroupStyle.ContainerStyleSelector Propiedad

Definición

Nota

ContainerStyleSelector puede modificarse o no estar disponible para las versiones después de Windows 8.1 y no se admite para ItemsControl.GroupStyle.

Obtiene o establece una referencia a una clase lógica StyleSelector personalizada. StyleSelector al que hace referencia esta propiedad devuelve un estilo que se aplicará a cada groupItem generado.

/// [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, "Microsoft.UI.Xaml.WinUIContract")]
/// [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, "Microsoft.UI.Xaml.WinUIContract")]
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, "Microsoft.UI.Xaml.WinUIContract")] 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, "Microsoft.UI.Xaml.WinUIContract")] set; }
var styleSelector = groupStyle.containerStyleSelector;
groupStyle.containerStyleSelector = styleSelector;
Public Property ContainerStyleSelector As StyleSelector
<GroupStyle ContainerStyleSelector="styleSelectorReference" />

Valor de propiedad

Objeto que deriva de StyleSelector. El valor predeterminado es NULL.

Atributos

Se aplica a