ProgressBarAutomationPeer.GetPattern(PatternInterface) Metoda

Definicja

Pobiera wzorzec sterowania skojarzony ProgressBar z tym ProgressBarAutomationPeerelementem .

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ść w wyliczenie.

Zwraca

Object

Jeśli patternInterface jest i IsIndeterminate jest trueRangeValue , ta metoda zwraca bieżące wystąpienie ProgressBarAutomationPeerobiektu ; w przeciwnym razie ta metoda zwraca wartość null.

Dotyczy