Share via


ItemAutomationPeer.GetOrientationCore 方法

定義

取得值,這個值表示指定的 UIElement 是否依特定方向配置。

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

傳回

指定之 UIElement 的方向。 如果 None 不是依特定方向配置,則方法會選擇性地傳回 UIElement

備註

UIElement 會對應至與 Items 相關聯之 ItemAutomationPeer 集合中的資料項目。 這個方法是由 GetOrientation 所呼叫。

適用於

另請參閱