共用方式為


TeachingTip.HeroContentPlacement 屬性

定義

在教學提示內放置主圖內容。

本檔適用于 Windows 應用程式 SDK 中適用于 WinUI 的 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

適用於