TableCellAutomationPeer.GetPattern(PatternInterface) Metoda

Definicja

Pobiera wzorzec sterowania skojarzony 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

Object

Jeśli patternInterface jest to GridItem, ta metoda zwraca bieżące wystąpienie TableCellAutomationPeerobiektu ; w przeciwnym razie ta metoda zwraca wartość null.

Dotyczy

Zobacz też