Raj Wpf Controls
description
Transcript of 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.
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
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.
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
Touch and Multi-TouchTaskbarRibbonCommon DialogsMore…
Use these with .NET XAML in WPF
Windows 7 Synergy and Light Up
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.
Great Developer ToolsDesigners – Expression BlendDevelopers - Visual Studio 2008
Custom Email ExtensionsCustomize an email message
Populate the charts using eBay back-end services
Program workflow into Outlook
WPF Controls can create sophositicated interfaces
Sample Excel OBA Codex
Office Application Solutions (Add-In)
Document-Centric Solutions
Office Client Development with VSTO2 Common Application Models
OMMyCodeMyCode
OMMyCodeMyCode
MyMenu MyMenu
MyTaskPaneMyTaskPane
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/
Newsgroups
VSTOmicrosoft.public.vsnet.vstools.officeMSDN Forums: VSTO http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=16&SiteID=1
.
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
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
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
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
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
Sample User Interfaces
Sample User Interfaces
Sample User Interfaces
Sample User Interfaces
Sample User Interfaces
Sample User Interfaces
Sample User Interfaces
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
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