TeachingTipPlacementMode 列舉

定義

定義常數,指出 TeachingTip 教學提示的慣用位置。

public enum class TeachingTipPlacementMode
/// [Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=0)]
/// [Windows.Foundation.Metadata.Version(1)]
enum class TeachingTipPlacementMode
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.XamlContract, 65536)]
enum class TeachingTipPlacementMode
[Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=0)]
[Windows.Foundation.Metadata.Version(1)]
public enum TeachingTipPlacementMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 65536)]
public enum TeachingTipPlacementMode
Public Enum TeachingTipPlacementMode
繼承
TeachingTipPlacementMode
屬性
Microsoft.UI.Xaml.CustomAttributes.MUXContractPropertyAttribute VersionAttribute ContractVersionAttribute

欄位

Auto 0

當目標為非目標且高於目標專案時,沿著 xaml 根的底部。

Bottom 2

在非目標專案和目標專案下方時,沿著 xaml 根的底部。

BottomLeft 8

當非目標專案和目標專案下方展開目標專案時,xaml 根的左下角。

BottomRight 7

以目標為目標時,在目標專案下方展開目標專案時,xaml 根的右下角。

Center 13

非目標時,並指向目標專案中心時,xaml 根的中心。

Left 3

在目標專案未設為目標時,沿著 xaml 根目錄的左側。

LeftBottom 10

當目標專案未設為目標且目標專案左下展開時,xaml 根的左下角。

LeftTop 9

當目標專案未設為目標且目標專案左邊展開時,xaml 根的左上角會向上展開。

Right 4

以目標為目標時,沿著 xaml 根目錄的右側和目標項目的右側。

RightBottom 12

當目標專案不是目標專案右下展開時,xaml 根的右下角。

RightTop 11

當目標專案未設為目標且目標專案的右上方展開時,xaml 根的右上角。

Top 1

當目標為非目標且在目標專案上方時,沿著 xaml 根的頂端。

TopLeft 6

當非目標專案和目標專案在目標專案上方展開時,xaml 根的左上角。

TopRight 5

當非目標專案和目標專案在目標專案上方展開時,xaml 根的右上角。

範例

提示

如需詳細資訊、設計指引和程式碼範例,請參閱 教學提示

WinUI 3 資源庫應用程式包含大部分 WinUI 3 控制件、特性和功能的互動式範例。 從 Microsoft Store 取得應用程式,或在 GitHub 上取得原始程式碼。

適用於

另請參閱