DataGridAutomationPeer.GetPattern(PatternInterface) Metoda

Definicja

Zwraca obiekt obsługujący określony wzorzec sterowania elementu skojarzonego z tym elementem równorzędnym automatyzacji.

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

Parametry

patternInterface
PatternInterface

Wartość wyliczenia.

Zwraca

Object

Jeśli patternInterface parametr ma Gridwartość , Selectionlub Table, ta metoda zwraca this wskaźnik. W przeciwnym razie ta metoda zwraca wartość null.

Dotyczy