public static bool MouseWithinFoldAreas(Point mousePoint, RadBookItem page)
        {
            Size foldSize = page.FoldSize;

            if (page.Position == PagePosition.Left)
            {
                return(FoldHelper.MouseWithinTopLeftFoldArea(mousePoint, foldSize) || FoldHelper.MouseWithinBottomLeftFoldArea(mousePoint, foldSize, page.ActualHeight));
            }
            else
            {
                return(FoldHelper.MouseWithinTopRightFoldArea(mousePoint, foldSize, page.ActualWidth) || FoldHelper.MouseWithinBottomRightFoldArea(mousePoint, foldSize, page.ActualWidth, page.ActualHeight));
            }
        }
        public static bool MouseWithinFoldAreas(Point mousePoint, RadBook book)
        {
            double actualWidth  = book.ActualWidth;
            double num          = actualWidth / 2.0;
            double actualHeight = book.ActualHeight;
            Size   foldSize     = book.FoldSize;

            if (mousePoint.X < num)
            {
                return(FoldHelper.MouseWithinTopLeftFoldArea(mousePoint, foldSize) || FoldHelper.MouseWithinBottomLeftFoldArea(mousePoint, foldSize, actualHeight));
            }
            else
            {
                return(FoldHelper.MouseWithinTopRightFoldArea(mousePoint, foldSize, actualWidth) || FoldHelper.MouseWithinBottomRightFoldArea(mousePoint, foldSize, actualWidth, actualHeight));
            }
        }