Exemple #1
0
        /// <summary>
        /// Returns the maximum scroll position of the widget
        /// </summary>
        /// <param name="direction"> "x" or "y" for horizontal/vertical maximum </param>
        /// <returns>The maximum scroll position in pixels.</returns>
        public long?GetMaximum(string direction)
        {
            ScrollPane scrollPane = ScrollPane;

            return(scrollPane.GetMaximum(direction));
        }