Share via


ItemsControlAutomationPeer.GetPattern(PatternInterface) 方法

定義

取得與此 ItemsControlAutomationPeer 相關聯之 ItemsControl 的控制項模式。

public:
 override System::Object ^ GetPattern(System::Windows::Automation::Peers::PatternInterface patternInterface);
public override object GetPattern (System.Windows.Automation.Peers.PatternInterface patternInterface);
override this.GetPattern : System.Windows.Automation.Peers.PatternInterface -> obj
Public Overrides Function GetPattern (patternInterface As PatternInterface) As Object

參數

patternInterface
PatternInterface

其中一個列舉值。

傳回

與這個 ItemsControlAutomationPeer 關聯的 ScrollViewerAutomationPeer

適用於