public ScrollBar GetInternalScrollBar (Orientation orientation) { if (orientation == Orientation.Horizontal) return HorizontalScrollBar; else return VerticalScrollBar; }