ScrollViewerAutomationPeer.GetPattern(PatternInterface) Méthode

Définition

Obtient le modèle de contrôle pour le ScrollViewer associé à ce ScrollViewerAutomationPeer.

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

Paramètres

patternInterface
PatternInterface

Valeur comprise dans l'énumération.

Retours

Object

Si patternInterface est Scroll, cette méthode retourne un pointeur this ; sinon, elle retourne null.

S’applique à

Voir aussi