TeachingTip.HeroContentPlacement 属性

定义

在教学提示中放置 hero 内容。

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

适用于