TeachingTip.HeroContentPlacement 属性

定义

在教学提示中放置英雄内容。

本文档适用于 Windows 应用 SDKWinUI 的 WinUI 2 for UWP (,请参阅Windows 应用 SDK命名空间) 。

public:
 property TeachingTipHeroContentPlacementMode HeroContentPlacement { TeachingTipHeroContentPlacementMode get(); void set(TeachingTipHeroContentPlacementMode value); };
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::TeachingTipHeroContentPlacementMode::Auto")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::TeachingTipHeroContentPlacementMode::Auto")]
TeachingTipHeroContentPlacementMode HeroContentPlacement();

void HeroContentPlacement(TeachingTipHeroContentPlacementMode value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::TeachingTipHeroContentPlacementMode::Auto")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::TeachingTipHeroContentPlacementMode::Auto")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::TeachingTipHeroContentPlacementMode::Auto")]
TeachingTipHeroContentPlacementMode HeroContentPlacement();

void HeroContentPlacement(TeachingTipHeroContentPlacementMode value);
public TeachingTipHeroContentPlacementMode HeroContentPlacement { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::TeachingTipHeroContentPlacementMode::Auto")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::TeachingTipHeroContentPlacementMode::Auto")] set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::TeachingTipHeroContentPlacementMode::Auto")]
public TeachingTipHeroContentPlacementMode HeroContentPlacement { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::TeachingTipHeroContentPlacementMode::Auto")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::TeachingTipHeroContentPlacementMode::Auto")] set; }
Public Property HeroContentPlacement As TeachingTipHeroContentPlacementMode

属性值

属性
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

适用于