发明名称 Data templates in user interface elements
摘要 A data template that is used to generate arbitrary data of a user interface element that is part of the hierarchy of user interface elements used to render a user interface. The data template is used to generate the arbitrary data of the user interface element, even though that component is not also a user interface element. This contrast with the use of a user interface template which is used to generate the user interface element itself. This permits for greater control in defining the layout, content, and/or the look and feel of portions of the user interface element.
申请公布号 US9176746(B2) 申请公布日期 2015.11.03
申请号 US200611375859 申请日期 2006.03.15
申请人 Microsoft Technology Licensing, LLC 发明人 Kothari Nikhil;Calvert Simon
分类号 G06F3/048;G06F9/44;G06F3/0481 主分类号 G06F3/048
代理机构 代理人 Haslam Brian;Hoff Aaron;Minhas Micky
主权项 1. A method for rendering a user interface control, the method comprising: accessing a hierarchical user interface description that includes a definition of parent user interface element and a definition of at least one child user interface element, the definition of the child user interface element including: a templated definition of a child user interface control that is to be visually displayed within the parent user interface element, the templated definition of the child user interface control including: a first template identifier that identifies a user interface template that defines a customization of one or more visual properties of the corresponding child user interface control, when the child user interface control is rendered at the user interface;one or more first template properties corresponding to the user interface template; andone or more first standard properties for customizing one or more of the layout or content of the child user interface control; anda templated definition of a non-user interface component that is to be applied to the child user interface control, when the child user interface control is rendered at the user interface, the templated definition of the non-user interface component including: a second template identifier that identifies a data template that defines a customization to the non-user interface component, including a customization of one or more visual properties of the arbitrary data corresponding to the non-user interface component;one or more second template properties corresponding to the data template; andone or more second standard properties for customizing the non-user interface component; and generating the parent user interface element and the child user interface control that is represented by the hierarchical user interface description, including: using the first template to customize the one or more visual properties of the child user interface control; andusing the second template to customize the one or more visual properties of the arbitrary data.
地址 Redmond WA US