Condividi tramite


GroupStyle.ContainerStyle Proprietà

Definizione

Nota

ContainerStyle può essere modificato o non disponibile per le versioni dopo Windows 8.1 e non è supportato per ItemsControl.GroupStyle.

Ottiene o imposta lo stile applicato all'oggetto GroupItem generato per ogni elemento.

public:
 property Style ^ ContainerStyle { Style ^ get(); void set(Style ^ value); };
/// [get: Windows.Foundation.Metadata.Deprecated("ContainerStyle 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("ContainerStyle 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)]
Style ContainerStyle();

void ContainerStyle(Style value);
/// [get: Windows.Foundation.Metadata.Deprecated("ContainerStyle 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("ContainerStyle 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")]
Style ContainerStyle();

void ContainerStyle(Style value);
public Style ContainerStyle { [Windows.Foundation.Metadata.Deprecated("ContainerStyle 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("ContainerStyle 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 Style ContainerStyle { [Windows.Foundation.Metadata.Deprecated("ContainerStyle 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("ContainerStyle 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 style = groupStyle.containerStyle;
groupStyle.containerStyle = style;
Public Property ContainerStyle As Style
<GroupStyle ContainerStyle="styleReference" />
- or -
<GroupStyle>
  <GroupStyle.ContainerStyle>
    singleStyle
  </GroupStyle.ContainerStyle>
</GroupStyle>  

Valore della proprietà

Stile applicato all'oggetto GroupItem generato per ogni elemento. Il valore predefinito è Null.

Attributi

Si applica a

Vedi anche