共用方式為


TeachingTip.HeroContentPlacement 屬性

定義

主圖內容在教學提示內的位置。

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; }
var teachingTipHeroContentPlacementMode = teachingTip.heroContentPlacement;
teachingTip.heroContentPlacement = teachingTipHeroContentPlacementMode;
Public Property HeroContentPlacement As TeachingTipHeroContentPlacementMode

屬性值

屬性
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

適用於