/// <summary>
        ///     Устанавливает ориентацию закладок.
        /// </summary>
        public void SetHeaderOrientation(TabHeaderOrientation value)
        {
            _headerOrientation = value;

            switch (value)
            {
            case TabHeaderOrientation.Horizontal:
                Control.HeaderOrientation = Orientation.Horizontal;
                break;

            case TabHeaderOrientation.Vertical:
                Control.HeaderOrientation = Orientation.Vertical;
                break;
            }
        }
        /// <summary>
        ///     Устанавливает ориентацию закладок.
        /// </summary>
        public void SetHeaderOrientation(TabHeaderOrientation value)
        {
            _headerOrientation = value;

            var tabView = Control.View as TabControlScrollView;

            if (tabView != null)
            {
                switch (value)
                {
                case TabHeaderOrientation.Horizontal:
                    tabView.HeaderOrientation = HeaderOrientation.Horizontal;
                    break;

                case TabHeaderOrientation.Vertical:
                    tabView.HeaderOrientation = HeaderOrientation.Vertical;
                    break;
                }
            }
        }