DockPatternIdentifiers 類別

定義

包含 由 IDockProvider做為識別碼的值。

public ref class DockPatternIdentifiers sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class DockPatternIdentifiers final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class DockPatternIdentifiers
Public NotInheritable Class DockPatternIdentifiers
繼承
Object Platform::Object IInspectable DockPatternIdentifiers
屬性

備註

DockPatternIdentifiers 之類的類別是 Microsoft UI 自動化通用提供者模式之Windows 執行階段實作的識別碼。 如果您要實作Windows 執行階段自訂自動化對等,報告其 AutomationPeer.GetPattern實作中IDockProvider的支援,您可以使用這些識別碼。 這些識別碼需要 AutomationPeer.RaisePropertyChangedEvent 呼叫,您可以從參考您自己的對等的控制項程式碼,或針對 Items 容器對等中的 Provider.IItemContainerProvider.FindItemByProperty 呼叫。

根據用戶端用來實作用戶端並檢查 Microsoft UI 自動化樹狀結構所使用的技術,此模式通常會以不同的方式公開給用戶端。 IDockProvider 也會以元件物件模型的形式呈現 (COM) 介面。

屬性

DockPositionProperty

識別 DockPosition 自動化屬性。

適用於

另請參閱