I wrote an XML file to represent the theme settings and then I compiled it into a Visual Basic® .NET class and into a C# class using a tool I wrote in Visual Basic. Finally, I added the resulting file to a Web project. Once compiled to a class file, theme settings are used to...
For common templates you can use in your app, see Item templates for GridView.If you populate the GridView by setting the ItemsSource property, the ItemTemplate is applied to every item. If you populate the Items collection directly, the ItemTemplate is applied only if the item is not ...
Last month I demonstrated an easy way to add theme support to ASP.NET 1.1 applications (see Cutting Edge: Dress Your Controls for Success with ASP.NET 1.1 Themes). I wrote an XML file to represent the theme settings and then I compiled it into a Visual Basic® .NET class and into a...
You can create new pages using the Add | New Item menu option for your project in Microsoft Visual Studio. This creates a XAML file where the root is a Page element with an x:Class attribute that joins it to the code-behind class that derives from Page. This example shows how this ...