Język

TableCellAutomationPeer.GetPattern(PatternInterface) Metoda

Definicja

Pobiera wzorzec sterowania dla elementu skojarzonego TableCell z tym TableCellAutomationPeerelementem .

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ść z wyliczenia.

Zwraca

Jeśli patternInterface parametr ma GridItemwartość , ta metoda zwraca bieżące wystąpienie TableCellAutomationPeerobiektu ; w przeciwnym razie ta metoda zwraca wartość null.

Dotyczy

Zobacz też