GroupStyle.ContainerStyle Eigenschaft

Definition

Hinweis

ContainerStyle kann für Releases nach Windows 8.1 geändert oder nicht mehr verfügbar sein und wird für ItemsControl.GroupStyle nicht unterstützt.

Ruft die Formatvorlage ab, die auf das für jedes Element generierte GroupItem angewendet wird, oder legt sie fest.

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>  

Eigenschaftswert

Der Stil, der auf das für jedes Element generierte GroupItem angewendet wird. Der Standardwert ist NULL.

Attribute

Gilt für:

Weitere Informationen