ItemAutomationPeer.GetOrientationCore Metoda

Definicja

Pobiera wartość wskazującą, czy określona wartość UIElement jest określona w określonym kierunku.

protected:
 override System::Windows::Automation::Peers::AutomationOrientation GetOrientationCore();
protected override System.Windows.Automation.Peers.AutomationOrientation GetOrientationCore ();
override this.GetOrientationCore : unit -> System.Windows.Automation.Peers.AutomationOrientation
Protected Overrides Function GetOrientationCore () As AutomationOrientation

Zwraca

Kierunek określonego UIElementelementu . Opcjonalnie metoda zwraca wartość None , jeśli UIElement wartość nie jest określona w określonym kierunku.

Uwagi

Element UIElement odpowiada elementowi danych w kolekcji skojarzonej Items z tym ItemAutomationPeerelementem . Ta metoda jest wywoływana przez GetOrientationmetodę .

Dotyczy

Zobacz też