Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Raj Wpf Controls

3,067 views

Published on

Published in: Business, Technology
  • Be the first to comment

  • Be the first to like this

Raj Wpf Controls

  1. 1. Overview<br />WPF offers desktop richness and integration<br />Leverages Past and Current Operating Systems<br />Rich Array of Controls<br />Great developer tools<br />Today we live in a world where Office Business Applications are a reality. “OBAs” as they are affectionately called are custom applicatons built in .net that leverage all the goodness of the office plumbing.<br />
  2. 2. Client Value Props<br />WPF anchors client continuum with desktop richness and integration<br />Desktop integration<br />Hardware acceleration<br />Full trust and Interop<br />Full offline<br />Full .NET Framework<br />Completeness (globalization, accessibility, security, input, printing etc)<br />RAD for Windows innovation<br />
  3. 3. Client Value Props<br />Visual Designers and a design time experience<br />Along with traditional office support we have Windows Workflow and SharePoint support<br />Data binding and xml schema support in terms of word content controls.<br />
  4. 4. Client Value Props<br />Add-ins for almost the entire office stack.<br />Document centric solutions for word and excel.<br />Much improved help in terms of deployment and security<br />
  5. 5. Windows 7 Synergy and Light Up<br />Touch and Multi-Touch<br />Taskbar<br />Ribbon<br />Common Dialogs<br />More…<br />Use these with .NET XAML in WPF<br />
  6. 6. Rich Array of Controls<br />Common Control Types<br />Button Controls<br />Basic response to click events<br />Range/Selection Controls<br />Allows value selection within pre-defined range<br />List Controls<br />Can contain an unbounded collection of items<br />Each item can be an arbitrary object including any renderable WPF content<br />Layout Controls<br />Provides layout management to window/page<br />Menu & User Interface Navigation<br />Menus, information bars etc.<br />Text, Document & Ink Controls<br />Provide rich text & document handling capabilities and inking support<br />Rich Media Controls<br />Display images, video etc.<br /><ul><li>Button
  7. 7. RadioButton
  8. 8. RepeatButton
  9. 9. Etc.
  10. 10. Slider
  11. 11. ProgressBar
  12. 12. CheckBox
  13. 13. Etc.
  14. 14. ListBox
  15. 15. ListView
  16. 16. ComboBox
  17. 17. TreeView
  18. 18. Etc.
  19. 19. StackPanel
  20. 20. DockPanel
  21. 21. WrapPanel
  22. 22. ViewBox
  23. 23. Grid
  24. 24. Etc.
  25. 25. Menu
  26. 26. ContextMenu
  27. 27. ToolBar
  28. 28. ToolBarTray
  29. 29. StatusBar
  30. 30. ScrollBar
  31. 31. TabControl
  32. 32. Tooltip
  33. 33. Popup
  34. 34. Expander
  35. 35. Etc.
  36. 36. TextBox
  37. 37. TextBlock
  38. 38. RichTextBox
  39. 39. Label
  40. 40. DocumentViewer
  41. 41. FlowDocumentReader
  42. 42. FlowDocumentPageViewer
  43. 43. InkCanvas
  44. 44. InkPresenter
  45. 45. Etc.
  46. 46. Image
  47. 47. MediaElement
  48. 48. Etc.</li></ul>WPF Controls<br />
  49. 49. Great Developer Tools<br />Designers – Expression Blend<br />Developers - Visual Studio 2008<br />
  50. 50. Custom Email Extensions<br />Customize an email message<br />Populate the charts using eBay back-end services<br />
  51. 51. Program workflow into Outlook<br />WPF Controls can create sophositicated interfaces<br />
  52. 52. Sample Excel OBA Code<br />x<br />
  53. 53. Office Client Development with VSTO<br />2Common Application Models <br />OM<br />OM<br />Document-Centric Solutions<br />MyCode<br />MyTaskPane<br />Office Application Solutions (Add-In)<br /> MyMenu<br />MyCode<br />
  54. 54. Product Team Blogs<br />Eric Carter: .NET4Office http://blogs.msdn.com/eric_carter/<br />Peter Torr: Office Development, Security, Randomness… http://blogs.msdn.com/ptorr/<br />Eric Lippert: Fabulous Adventures in Coding http://blogs.msdn.com/EricLippert<br />Paul Stubbs: Office Development with .NET http://blogs.msdn.com/pstubbs/<br />VSTO Team Blog http://blogs.msdn.com/vsto/<br />
  55. 55. Newsgroups<br />VSTO<br />microsoft.public.vsnet.vstools.office<br />MSDN Forums: VSTO <br />http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=16&SiteID=1.  <br />
  56. 56. Additional Information<br />MSDN Developer Centers <br />VS.NET and Office Development http://msdn.microsoft.com/vstudio/office/<br />Office Development http://msdn.microsoft.com/office<br />Hands-on Labs for VSTO 2005 http://www.microsoft.com/downloads/details.aspx?FamilyID=f2323aaf-fe87-4203-9ed8-72466566e105&displaylang=en<br />VSTO 2005 Web casts http://msdn.microsoft.com/office/understanding/vsto/multimedia/default.aspx<br />
  57. 57. Resources<br />VSTO Forum<br />http://forums.microsoft.com/msdn/ShowForum.aspx?ForumID=16<br />VSTO-related blogs<br />VSTO-related Blog Search – http://search.live.com/macros/pstubbs/vsto<br />Office Zealot Site – http://www.officezealot.com/VSTO/bloghome.aspx<br />
  58. 58. For More Information<br />Visit the VSTO Developer Center<br />http://msdn.microsoft.com/office/tool/vsto/default.aspx<br />VSTO Help documentation on MSDN<br />http://msdn2.microsoft.com/library/d2tx7z6d(en-us,vs.80).aspx<br />
  59. 59. Data Caching - Performance<br />Why cache data in an Office document?<br />Cached data can be bound to the Office document and displayed at runtime<br />Cached data can be used when offline<br />Cached data is server-accessible<br />Cached data can store non-UI data needed by your solution<br />VSTO support for data caching<br />CachedAttribute is used to annotate fields that should be cached <br />ICachedType can be implemented by a type to provide custom serialization<br />ServerDocument class can be used to open a document without instantiating Word/Excel<br />
  60. 60. VSTO Security Model<br />Based 100% on .NET Code Access Security<br />By default, no code runs<br />Trusted assembly ≠ Local machine<br />Trust via signing the assemblies <br />Authenticode or Strong name<br />Can also trust via location-based evidence <br />Must also trust the document<br />Trusted document = Local machine<br />Temporary Internet files not trusted<br />
  61. 61. Sample User Interfaces<br />
  62. 62. Sample User Interfaces<br />
  63. 63. Sample User Interfaces<br />
  64. 64. Sample User Interfaces<br />
  65. 65. Sample User Interfaces<br />
  66. 66. Sample User Interfaces<br />
  67. 67. Sample User Interfaces<br />
  68. 68. How to’s<br />http://msdn.microsoft.com/en-us/library/bb772076(VS.100).aspx<br />Demo Code / Examples<br />http://fieldcontent/Field%20Content%20Pages/SessionDetails.aspx?fcfilter=Developer&ID=1198<br />
  69. 69. Summary<br />VSTO is the key enabler for the .NET stack to build Office Business Applications<br />Connect documents to live business data<br />Provide structure using XML Schemas <br />Provide deeper UI integration using the Document Actions task pane<br />VSTO is the tool of choice for professional developers creating Add-ins & document-centric solutions for the Office Stack<br />Integrated design-time experience<br />Developer productivity through programming model enhancements<br />All the power of Visual Studio and the .NET Framework<br />

×