Share via


Ribbon.IsHostedInRibbonWindow 屬性

定義

取得值,這個值表示 Ribbon 目前是否裝載於 RibbonWindow 中。

public:
 property bool IsHostedInRibbonWindow { bool get(); };
public bool IsHostedInRibbonWindow { get; }
member this.IsHostedInRibbonWindow : bool
Public ReadOnly Property IsHostedInRibbonWindow As Boolean

屬性值

如果 Ribbon 裝載於 RibbonWindow 中則為 true,否則為 false。 已註冊的預設值是 false。 如需可能會影響該值的相關詳細資訊,請參閱 相依性屬性值優先順序

備註

相依性屬性資訊

識別碼欄位 IsHostedInRibbonWindowProperty
中繼資料屬性設定為 true

適用於