Panda X Posted February 13, 2009 Share Posted February 13, 2009 Example 1: TextColor:Color == foreground="gtc(DocumentsPreviewPaneControl::Edit, , , 3803)" foreground: Tells the theme that this is the foreground text color. gtc(): Tells the theme that this is a color. ClassName: Tells the theme what class to read from in the MSStyles. Number: Tells the theme what part to read from in the MSStyles. * Number: Tells the theme what state to read from in the MSStyles. * Number: Tells the theme what kind of color to use (textcolor:color, fillcolor:color, etc) ** * If the property is located in the class itself and not a part/state then set to 0. ** Numbers specify what type of color to use (textcolor:color, fillcolor:color, etc) So far 215 are known. See this page for details and what numbers to use for which properties: http://vistastylebuilder.com/wiki/index.ph...erty_Identifier The above example in VSB would be Explorer & Shell > Shell > PreviewPaneControl > Documents:Edit -------------------------------------- Example 2: FillColor:Color == background="themeable(gtc(DocumentsPreviewPaneControl::Edit, 3, , 3802), window)" background: Tells the theme that this is the background color. themeable(): Tells the theme to use more than one property. window: Inheritance? The above example in VSB would be Explorer & Shell > Shell > PreviewPaneControl > Documents:Edit > Background -------------------------------------- To find Class/Part/State select something in VSB and click the info icon in the CommandBar. ItemsView:ListView is the class name. The Part and State numbers are at the bottom when you click Show Details. If Part and/or State numbers are present then use 0. -------------------------------------- I hope you find this useful. I'll be adding more info as I find it. :) -------------------------------------- Note: This is pretty much VSB specific as you need it to find the Class Part State however you can just take this tutorial for example and edit existing parts in the UIFILE. Link to comment Share on other sites More sharing options...
Recommended Posts