摘要:
Systems and methods are provided for virtualizing a user interface. In particular, the present invention relates to providing access to a large amount of data while consuming a relatively small amount of a critical resource. The user interface is virtualized by allocating a critical resource to a relatively small subset of the accessed data at a particular time. For example, virtualization in accordance with the present invention can be applied to an “ItemsControl” control. The “ItemsControl” control can be used to create UI subtrees for those items that are currently visible on the screen, and to discard the subtrees that have gone out of view.
摘要:
An transition information is created and stored for layout animations. This transition information is then applied to layout changes at runtime when a trigger event occurs to animate a change in a layout. In one embodiment, transition information is provided in a script. The script details how a layout transition will occur in a layout during runtime. When the transition does occur, the transition information specified is applied to the transition, thereby allowing the user experience to be enhanced. In this way, animation is integrated in providing a graphical display.
摘要:
Methods, systems, and computer-readable media for enhanced layout editing of one or more child objects within a container displayed by a computer system are disclosed. Editing first involves detecting a layout edit operation for a child object displayed on a video display of a computer system. A request is then sent via an application program interface provided by an abstraction layer to initiate editing of the object layout by the abstraction layer. The abstraction layer receives the edit operation request and determines the layout limitations and type of parent object or container in which the child object is displayed based on properties related to the child object to be edited. The abstraction layer reads a set of properties related to the object and the container in which the object is displayed. The abstraction layer then edits the layout of the child object based the properties of child and the parent container by modifying one or more of the properties of the child object or the parent container in accordance with constraints either associated with the child object or its parent container, or both, and includes accommodation for modifications in accordance with one or more functional relationships defined between the parent and child.
摘要:
Described is a technology by which a managed web browser control hosts an unmanaged web OLE control to control navigation requests by the unmanaged web OLE control on behalf of partially trusted code. Site locking may be performed to constrain a site to navigation only to other pages within its site, thereby preventing navigation to an undesirable location. In one example, the unmanaged web OLE control communicates information corresponding to a navigation request to the managed web browser control, and the managed web browser control processes the information to establish whether the navigation is to be allowed or blocked. The benefits of site-locking with respect to privacy are also described, as is z-order management to protect against site spoofing.
摘要:
Described is a method and system by which a computer program window is sized based on the content to display. The window may automatically resize itself as content changes. When laying out an element tree of elements that contain the content, the elements provide desired size information to a parent container, and so on, up to the root element (e.g., a window). If a window property is set to size to the content, a window size is computed during layout, having a height and/or width based on the child elements plus X and Y deltas for a window non-client area and borders. Logic attached to window message handling controls changes to the content/window, such as to automatically resize for changed content, and to selectively turn off or persist the size to content property. Sizing to content may be programmatically limited to one dimension, with the other dimension fixed.
摘要:
Navigating through pages of content. In aspects, a state machine is provided that simplifies navigating. The state machine allows multiple navigation services to work together in a hierarchical manner to obtain content. The state machine also provides a mechanism for stopping navigation and responding to errors.
摘要:
Methods and systems are provided for managing the preparation of graphical elements in computer application programs for presentation. The methods independently identify and measure, and identify and arrange, sets of elements. A computer-readable medium is also provided for facilitating the management of the preparation for presentation of graphical elements in computer application programs.
摘要:
Described is a method and system by which document servers/applications (document objects) hosted by the browser may integrate with the browser's travel log. As a result, the user can use browser navigation commands, particularly forward and back commands, as well as a drop-down list of entries, to navigate among a hosted document's pages. Integration also allows the document object to add travel entries, persist relevant state, delete travel entries and update existing travel entries with new state. The browser and document object may communicate to update the browser's address bar, and to communicate various navigation events to keep each other synchronized. In one implementation, the browser limits navigation to top-level travel entries and the sub-navigation entries of the currently hosted document object, by filtering out sub-navigation entries that do not correspond to the currently-hosted document object. Frames no longer valid are also filtered from those available for navigation.
摘要:
Methods and systems are provided for preparing for presentation a graphical element in a computer application program. The methods independently execute measurement and arrangement procedures. A data structure, sets of executable procedures, and computer-readable media are also provided for facilitating the preparation for presentation of a graphical element.
摘要:
Methods and systems are provided for controlling pagination in computer software applications. Abstract classes and methods are provided with programming interfaces to improve the ease with which developers can create applications that allow for co-pagination with arbitrary object types, and can create arbitrary object types that can co-paginate with arbitrary applications.