/// protected override AutomationOrientation GetOrientationCore() { AutomationPeer wrapperPeer = GetWrapperPeer(); if (wrapperPeer != null) { return(wrapperPeer.GetOrientation()); } else { ThrowElementNotAvailableException(); } return(AutomationOrientation.None); }
private static object GetOrientation(AutomationPeer peer) { return peer.GetOrientation(); }