Smooth pixel-based scrolling in a user interface control
AssigneeMicrosoft Corporation
InventorsYifung Lin, Scott Morrison, Brian Christopher Braeckel
Life of this patent
Estimating the term…
Loading patent…
AssigneeMicrosoft Corporation
InventorsYifung Lin, Scott Morrison, Brian Christopher Braeckel
Estimating the term…
Described is a technology in which a user interface element (a control, e.g., a datagrid) provides smoother scrolling by computing and updating a row height estimate. For example, the row height estimate along with the total number of rows may be used to configure a scrollbar. A control outputs visible rows according to user scrolling interaction based on a current row index and current pixel values corresponding to that current row index. The estimate is obtained based upon the current row index and the current pixel value for the row index. Whenever a row index is encountered that is larger than any previously-encountered row index, the row height estimate is updated, e.g., to reconfigure the scrollbar. Also described is outputting partially visible rows based on a number of pixels available in a display area below a last fully visible row, and/or above a first fully visible row.
In a computing environment, a method comprising, displaying representations of rows of data via a control, computing an estimated row height based upon a current row index and current pixel value corresponding to the row index, and using the estimated row height to manage vertical scrolling-related user interaction.
In a computing environment, a system comprising, a control that displays representations of rows of data and provides a scrolling mechanism for scrolling through the rows, the control including logic that computes an estimated row height based upon a current row index and current pixel value corresponding to the current row index, the control managing vertical scrolling via interaction with the scrolling mechanism based upon the estimated row height.
One or more computer-readable media having computer-executable instructions, which when executed perform steps, comprising:
Dependencies are inferred from the claim text.