ScrollPatternIdentifiers 類別

定義

包含 IScrollProvider用來做為識別碼的值,也包含 NoScroll 常數。

public ref class ScrollPatternIdentifiers 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 ScrollPatternIdentifiers 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 ScrollPatternIdentifiers
Public NotInheritable Class ScrollPatternIdentifiers
繼承
Object Platform::Object IInspectable ScrollPatternIdentifiers
屬性

備註

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

根據用戶端用來實作用戶端的技術,並檢查 Microsoft UI 自動化樹狀結構,通常會以不同的方式向用戶端公開此相同模式。 IScrollProvider 也會顯示為元件物件模型, (COM) 介面。

屬性

HorizontallyScrollableProperty

識別 HorizontallyScrollable 自動化屬性。

HorizontalScrollPercentProperty

識別 HorizontalScrollPercent 自動化屬性。

HorizontalViewSizeProperty

識別 HorizontalViewSize 自動化屬性。

NoScroll

指定不應該執行捲動。

VerticallyScrollableProperty

識別 VerticallyScrollable 自動化屬性。

VerticalScrollPercentProperty

識別 VerticalScrollPercent 自動化屬性。

VerticalViewSizeProperty

識別 VerticalViewSize 自動化屬性。

適用於

另請參閱