Mark Miller

January 2011 - Posts

  • WPF & Silverlight Grids – Faster Creation Using CodeRush Templates and a Custom Plug-in

    A few days ago a customer asked for a faster way to create WPF and Silverlight grids. Rory Becker and I recorded a video showing how to create this feature in CodeRush. Rory and I discuss and build the feature in about 30 minutes.

    Here’s the final version of the feature in action (the mnemonic is “g” followed by the dimensions of the grid, so “g2x3” creates a 2x3 grid):

    GridTemplateExpansion

    In the video Rory and I show how we built this feature step-by-step. We create a template and add a custom plug-in to make the template more dynamic and intelligent. You can follow along with the video to create this yourself and learn about templates and plug-ins, or you can follow the download instructions below if you simply want the feature. Here’s the video (be sure to watch it through to the end – I added a video update where I improved the template to make it even easier to use):

    BuildingGridsFasterVideoLink2

    Installing the Smart Grid Templates

    1. Right-click and download this Smart Grid templates link.
    2. Start Visual Studio.
    3. From the DevExpress menu, select Options.
    4. Inside the Editor folder, select the Templates options page.
    5. IMPORTANT: In the Language combo box at the bottom of the Options page, make sure XAML is selected:

      LanguageXaml
    6. Right-click the template tree list and choose Import Templates….

      Import Templates
    7. Navigate to the folder where you downloaded the Smart Grid templates. Select XAML_SmartGrid.xml and click Open. The smart grid templates will appear inside the template tree list.

      SmartGridTemplatesImported
    8. Click OK to close the Options dialog.
    9. From the DevExpress menu, selection About…. The DXCore About box will appear.

      DXCoreAbout
    10. Click the Settings… button. A Windows Explorer window will appear.
    11. Navigate to the Settings.xml\Core folder inside Explorer.
    12. Download and save the Numbers dynamic list to this folder.
    13. Back on the DXCore About box, click the Plug-ins… button. This will open two more Windows Explorer windows (Bin\PlugIns and Community\PlugIns). Download and save the
    14. Download and unzip the CR_Loop binary to the Bin\PlugIns folder (latest CR_Loop source is here if you’re interested).
    15. Click OK on the DXCore About box.
    16. Restart Visual Studio.
  • Mads Torgersen on the Future of C# and the New Async Keyword

    I had the pleasure of interviewing Mads Torgersen, product manager for the C# language at Microsoft. Mads talks about the new async and await keywords coming in C# 5.0, the criteria behind C# design choices, and C# futures.

    Enjoy!

    MadsTorgersenInterview

  • Upcoming CodeRush Webinars

    Join us every Tuesday at 12:00pm Pacific time for an in-depth dive into CodeRush with Mark Miller and Rory Becker. Here's what we have coming up:

     

    4 Jan 2011
    Navigation with CodeRush
    Mark Miller and Rory Becker reveal powerful CodeRush features that help you get to where you want to be, featuring Quick Nav, Recent Files, Bookmarks, Markers, Structural Navigation, Tab to Next Reference, Jumping to Member Overrides, Base Types, Interface Implementers, Camel Case navigation and more.

     

    11 Jan 2011
    Consume-first Declaration with CodeRush
    Mark Miller and Rory Becker show how to write consumption code first (which can improve the quality of your API), and then use CodeRush to generate and fill in the missing pieces.

     

    18 Jan 2011
    Declaring and Refactoring Properties with CodeRush
    Mark Miller and Rory Becker reveal everything you need to know about working with properties in CodeRush.

     

    25 Jan 2011
    Declaring and Refactoring Events with CodeRush
    Mark Miller and Rory Becker reveal everything you need to know about working with events in CodeRush.

     

     

LIVE CHAT

Chat is one of the many ways you can contact members of the DevExpress Team.
We are available Monday-Friday between 7:30am and 4:30pm Pacific Time.

If you need additional product information, write to us at info@devexpress.com or call us at +1 (818) 844-3383

FOLLOW US

DevExpress engineers feature-complete Presentation Controls, IDE Productivity Tools, Business Application Frameworks, and Reporting Systems for Visual Studio, along with high-performance HTML JS Mobile Frameworks for developers targeting iOS, Android and Windows Phone. Whether using WPF, ASP.NET, WinForms, HTML5 or Windows 10, DevExpress tools help you build and deliver your best in the shortest time possible.

Copyright © 1998-2017 Developer Express Inc.
All trademarks or registered trademarks are property of their respective owners