Office 2010 UI Customization Office and Visual Studio



















- Slides: 19
Office 2010 UI Customization Office and Visual Studio 2010
Office Development with Visual Studio 2010 Share. Point Workflow still supported Click Once deployment supported Multiple addindeployment also supported Improved deployment support in Office 2010 with Visual Studio 2010 Application life-cycle management through Team Foundation Server
Support for Previous Versions Visual Studio 2010 is backward compatible Office 2007 project templates are supported But not Office 2003 VS 2010 and 2008 work side-by-side All 2007 supported scenarios persist forward to 2010
Customization Sample demo
Office 2010 UI Customization Office UI Customizations
Ribbons in Visual Studio 2010 Ribbon designer for basic applications Direct XML for more complex applications
Ribbons Ability to programmatically select a tab IRibbon. UI. Activate. Tab(String Tab. ID) Group Scaling <group id="Wheel" auto. Scale="true">
Context Menus
Context Menus Create context menus in ribbon XML <custom. UI. . . > <ribbon>. . . </ribbon> <backstage>. . . </backstage> <context. Menus> <context. Menuid. Mso=“Context. Menu. Cell"> <button id="Button. Refresh”. . . /> </context. Menus> </custom. UI>
Backstage View Group Tab Fast Command Column
Backstage View Created at the same level as the Ribbon and context menus: <custom. UI. . . > <ribbon>. . . </ribbon> <backstage> <tab id=“Process”. . . >. . . </tab> </backstage> <context. Menus>. . . </context. Menus> </custom. UI>
Backstage View Add custom tabs to the Backstage view Add fast commands to built-in/custom tabs Add custom groups to built-in/custom tabs Wide variety of control types available for building custom groups (button, check. Box, edit. Box, drop. Down, radio. Group, combo. Box, hyperlink, label. Control, group. Box, layout. Container, image. Control, etc. )
Customizing Office 2010 demo
Office 2010 UI Customization Custom Task Panes
Custom Task Panes Created with User Controls Use with a variety of technologies WPF controls WCF services private void This. Add. In_Startup (…) { Image. Paneip= new Image. Pane(); Microsoft. Office. Tools. Custom. Task. Panepane = this. Custom. Task. Panes. Add(ip, "Images"); pane. Visible= true; }
Custom Task Panes demo
Office 2010 UI Customization Outlook Form Regions
Outlook Form Regions Creating Form Regions in Outlook Creating Form Regions in VS 2010
Outlook Form Regions demo