Raj Wpf Controls
Upcoming SlideShare
Loading in...5
×
 

Raj Wpf Controls

on

  • 2,972 views

 

Statistics

Views

Total Views
2,972
Views on SlideShare
2,970
Embed Views
2

Actions

Likes
0
Downloads
12
Comments
0

1 Embed 2

http://www.slideshare.net 2

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • Now VSTO solutions come in two different flavors. And this is important from an architectural perspective too, because as you saw in the earlier demos most of the office stack is covered….but, not all of it.The two common models are “document-centric solutions” and “add-in” solutions. In the previous demos you have seen document centric solutions. That is, a vsto dot net application (ie: assembly) is linked to the office document itself. This means, when your user opens the document it automatically runs the assembly. What you’ll see in the coming demos are Add-in solutions. That is, your vsto application runs in the office interface itself. It runs in the menus, the toolbars etc. So, for instance your OBA runs every time you run excel as opposed to unique to a single excel document like in a document-centric solution.

Raj Wpf Controls Raj Wpf Controls Presentation Transcript

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