28
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

Raj Wpf Controls

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Raj Wpf Controls

OverviewWPF offers desktop richness and integrationLeverages Past and Current Operating SystemsRich Array of ControlsGreat developer toolsToday 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.

Page 2: Raj Wpf Controls

Client Value PropsWPF anchors client continuum with desktop richness and integration

Desktop integrationHardware accelerationFull trust and InteropFull offlineFull .NET FrameworkCompleteness (globalization, accessibility, security, input, printing etc)

RAD for Windows innovation

Page 3: Raj Wpf Controls

Client Value PropsVisual Designers and a design time experienceAlong with traditional office support we have Windows Workflow and SharePoint supportData binding and xml schema support in terms of word content controls.

Page 4: Raj Wpf Controls

Client Value PropsAdd-ins for almost the entire office stack.Document centric solutions for word and excel.Much improved help in terms of deployment and security

Page 5: Raj Wpf Controls

Touch and Multi-TouchTaskbarRibbonCommon DialogsMore…

Use these with .NET XAML in WPF

Windows 7 Synergy and Light Up

Page 6: Raj Wpf Controls

WPF Controls

Rich Array of ControlsCommon Control Types

Button ControlsBasic response to click events

Range/Selection ControlsAllows value selection within pre-defined range

List ControlsCan contain an unbounded collection of itemsEach item can be an arbitrary object including any renderable WPF content

Layout ControlsProvides layout management to window/page

Menu & User Interface NavigationMenus, information bars etc.

Text, Document & Ink ControlsProvide rich text & document handling capabilities and inking support

Rich Media ControlsDisplay 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.

Page 7: Raj Wpf Controls

Great Developer ToolsDesigners – Expression BlendDevelopers - Visual Studio 2008

Page 8: Raj Wpf Controls

Custom Email ExtensionsCustomize an email message

Populate the charts using eBay back-end services

Page 9: Raj Wpf Controls

Program workflow into Outlook

WPF Controls can create sophositicated interfaces

Page 10: Raj Wpf Controls

Sample Excel OBA Codex

Page 11: Raj Wpf Controls

Office Application Solutions (Add-In)

Document-Centric Solutions

Office Client Development with VSTO2 Common Application Models

OMMyCodeMyCode

OMMyCodeMyCode

MyMenu MyMenu

MyTaskPaneMyTaskPane

Page 12: Raj Wpf Controls

Product Team BlogsEric 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/

Page 13: Raj Wpf Controls

Newsgroups

VSTOmicrosoft.public.vsnet.vstools.officeMSDN Forums: VSTO http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=16&SiteID=1

Page 14: Raj Wpf Controls

Additional InformationMSDN 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

Page 15: Raj Wpf Controls

Resources

VSTO Forumhttp://forums.microsoft.com/msdn/ShowForum.aspx?ForumID=16

VSTO-related blogsVSTO-related Blog Search – http://search.live.com/macros/pstubbs/vsto Office Zealot Site – http://www.officezealot.com/VSTO/bloghome.aspx

Page 16: Raj Wpf Controls

For More Information

Visit the VSTO Developer Centerhttp://msdn.microsoft.com/office/tool/vsto/default.aspx

VSTO Help documentation on MSDNhttp://msdn2.microsoft.com/library/d2tx7z6d(en-us,vs.80).aspx

Page 17: Raj Wpf Controls

Data Caching - PerformanceWhy cache data in an Office document?

Cached data can be bound to the Office document and displayed at runtimeCached data can be used when offlineCached data is server-accessibleCached data can store non-UI data needed by your solutionVSTO support for data cachingCachedAttribute is used to annotate fields that should be cached ICachedType can be implemented by a type to provide custom serializationServerDocument class can be used to open a document without instantiating Word/Excel

Page 18: Raj Wpf Controls

VSTO Security ModelBased 100% on .NET Code Access SecurityBy default, no code runsTrusted assembly ≠ Local machineTrust via signing the assemblies Authenticode or Strong nameCan also trust via location-based evidence Must also trust the documentTrusted document = Local machineTemporary Internet files not trusted

Page 19: Raj Wpf Controls

Sample User Interfaces

Page 20: Raj Wpf Controls

Sample User Interfaces

Page 21: Raj Wpf Controls

Sample User Interfaces

Page 22: Raj Wpf Controls

Sample User Interfaces

Page 23: Raj Wpf Controls

Sample User Interfaces

Page 24: Raj Wpf Controls

Sample User Interfaces

Page 25: Raj Wpf Controls

Sample User Interfaces

Page 26: Raj Wpf Controls

http://msdn.microsoft.com/en-us/library/bb772076(VS.100).aspx

How to’s

http://fieldcontent/Field%20Content%20Pages/SessionDetails.aspx?fcfilter=Developer&ID=1198

Demo Code / Examples

Page 27: Raj Wpf Controls

SummaryVSTO is the key enabler for the .NET stack to build Office Business ApplicationsConnect documents to live business dataProvide structure using XML Schemas Provide deeper UI integration using the Document Actions task paneVSTO is the tool of choice for professional developers creating Add-ins & document-centric solutions for the Office StackIntegrated design-time experienceDeveloper productivity through programming model enhancementsAll the power of Visual Studio and the .NET Framework

Page 28: Raj Wpf Controls