IP Library Granted Patent US 7,917,860
Granted Patent B2
US 7,917,860 · App. 11/071,766 · Granted Mar 29, 2011

Simple styling

Assignee: Microsoft Corporation
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 7,917,860
App. No.
11/071,766
Granted
Mar 29, 2011
Kind
B2
Abstract

A style model implementation that is applied to objects within a user interface to define any attributes of the objects. The model is divided into two parts: a “runtime” which uses a style definition to affect the look and feel of the user interface, and a “design-time” which is the experience presented by WYSIWYG tools used to define the look and feel of the user interface. The design-time may be implemented in terms of the run-time objects. Properties associated with the styles can be set on the objects using the design-time UI and enforced at runtime. Styles may be grouped into themes to provide an easy mechanism to apply changes to many objects.

Claims (44)

1. A method of applying styles to an object within a user interface during runtime, comprising:

during runtime, ascertaining a first style and a second style associated with said object, wherein said object, said first style, and said second style are described in a high-level language, the high-level language description of the first style having been determined through operations comprising:

displaying a graphical design interface, the graphical design interface comprising a graphical design element, the graphical design interface accepting input corresponding to defining a user interface, the user interface corresponding to a program;

receiving input at the graphical design interface, the input corresponding to interaction with a graphical element of the graphical design interface;

determining the first style corresponding to the input, the first style comprising a named set of at least one property and a corresponding value assignment, the first style corresponding to a selected object of the user interface displayed by the graphical design interface; and

storing the style in the high-level language format;

assigning a first property of the first style and the corresponding value assignment to the object, a property comprising a graphical attribute of the object in the user interface;

assigning a second property of the first style and the corresponding value assignment to the object;

determining that a third property of the second style and the corresponding value assignment is not to be assigned to the object because the third property is overridden by the first property;

assigning a fourth property of the second style and the corresponding value assignment to the object because the fourth property is not overridden by a property of the first style; and

displaying the object in the user interface with the first property's value assignment, the second property's value assignment, and the fourth property's value assignment.

2. The method of claim 1 , further comprising applying local properties on said object.

3. The method of claim 1 , further comprising organizing said styles into themes.

4. The method of claim 3 , further comprising overriding said styles by applying a local theme.

5. The method of claim 3 , wherein the memory further bears processor-executable instructions that, when executed on the processor, cause the processor to perform operations comprising:

overriding said styles by applying a local theme.

6. The method of claim 1 , wherein the memory further bears processor-executable instructions that, when executed on the processor, cause the processor to perform operations comprising:

organizing said styles into themes.

7. A computer readable storage medium having stored thereon computer executable instructions for applying styles to a plurality of objects within a user interface of a program during runtime, comprising:

during runtime, ascertaining a first style associated with a first object and a second object, and a second style associated with the first object and the second object, wherein the first object, the second object, the first style, and the second style are described in a high-level language, the high-level language description of the first style having been determined through operations comprising:

displaying a graphical design interface, the graphical design interface comprising a graphical design element, the graphical design interface accepting input corresponding to defining a user interface, the user interface corresponding to a program;

receiving input at the graphical design interface, the input comprising interaction with a graphical attribute of a graphical object of the graphical design interface;

determining the first style corresponding to the input, the first style comprising a named set of at least one property and a corresponding value assignment, the first style corresponding to a selected object of the user interface displayed by the graphical design interface; and

storing the style in the high-level language format;

assigning a first property of the first style and the corresponding value assignment to the first object, a property comprising a graphical attribute of the object in the user interface;

assigning the first property and the corresponding value assignment to the second object;

assigning a second property of the first style and the corresponding value assignment to the object;

determining that a third property of the second style and the corresponding value assignment is not to be assigned to the object because the third property is overridden by the first property;

assigning a fourth property of the second style and the corresponding value assignment to the object because the fourth property is not overridden by a property of the first style; and

displaying the object in the user interface.

8. The computer readable storage medium of claim 7 , further comprising instructions for applying local properties on said object.

9. The computer readable storage medium of claim 7 , further comprising instructions for organizing said styles into themes.

10. The computer readable storage medium of claim 9 , further comprising instructions for overriding said styles by applying a local theme.

11. A system for applying styles to an object within a user interface during runtime, comprising:

a processor; and

a memory coupled to the processor, bearing processor-executable instructions, that when executed on the processor, cause the processor to perform operations comprising:

during runtime, ascertaining a first style and a second style associated with said object, wherein said object, said first style, and said second style are described in a high-level language;

assigning a first property of the first style and the corresponding value assignment to the object, a property comprising a graphical attribute of the object in the user interface;

assigning a second property of the first style and the corresponding value assignment to the object;

determining that a third property of the second style and the corresponding value assignment is not to be assigned to the object because the third property is overridden by the first property;

assigning a fourth property of the second style and the corresponding value assignment to the object because the fourth property is not overridden by a property of the first style; and

displaying the object in the user interface.

12. The system of claim 11 , wherein the memory further bears processor-executable instructions that, when executed on the processor, cause the processor to perform operations comprising:

applying local properties on said object.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 9, 2014
From: MICROSOFT CORPORATION
To: MICROSOFT TECHNOLOGY LICENSING, LLC
Reel/Frame 034543/0001 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 23, 2005
From: GOSSMAN, JOHN
To: MICROSOFT CORPORATION
Reel/Frame 016581/0211 →
Continuity (1)
Related Publication 20060197779A1 · Sep 7, 2006