Coolthing Of Theday

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Monday, 18 March 2013

Prism? Infragistics? Dock and Ribbon? Oh my...

Posted on 07:31 by Unknown

<xaml:Blog x:Name="Brian Lagunas" /> - XamDockManager–An Updated Prism Region Adapter

Last September, I wrote what has become a very popular Prism region adapter for the Infragistics XamDockManager control.  As pointed out in the post, this original XamDockManager Prism region adapter didn’t support all scenarios.  Frankly, it’s difficult to write a custom region adapter without knowing every usage of the control.  After receiving tons of requests for features and questions on how to implement certain scenarios, I have updated and refactored the XamDockManager Prism region adapter to support the most common requests.

So what was added?

  • Support for Activation – Before, there region adaptor supported IActiveAware from the View and ViewModel perspective.  Whenever a View or ViewModel was activated, the IActiveAware interface members would be invoked.  Unfortunately, the activated View would not become the active docking tab.  Now when you use the Region.Activate method within your code, the view being activated will now become the active docking tab.
  • Support for Remove – Before, when you would call the Region.Remove method, the view would be removed from the region, but the docking pane would still be visible.  The view would not be removed from the XamDockManager control itself.  This was because initially the requirements specifically didn’t support this.  I assumed closing of the panes would occur by the user clicking on the close button of the pane.  Now, whenever you invoke the Region.Remove method, the view will be removed from the region as well as the XamDockManager.  This was a highly request feature.
  • Support for floating panes – Before, the adapter didn’t have any support for floating panes.  Basically everything would work fine until you started tearing off panes and placing them in a floating state, or started to create complex nesting and stacking of panes.  Now, no matter how you have your panes organized, Region.Activate and Region.Remove will properly activate or remove the View form the region as well as the XamDockManager control.  This was by far the most requested feature.

...

CodePlex - WPF PRISM 4.0 and Ribbons

Project Description
Using Infragistics XamRibbon with WPF PRISM for building rich UI

Prism is the great Framework and sometimes some of the default .NET UI components doesn't quite work for certain scenarios (like RibbonBar and DockManager).
This project is about using Infragistics RibbonBar and later on if time permits Microsoft's Ribbon for WPF (which is provided separately) with Prism. So that we can utilize RibbonBar functionality quite smoothly with PRISM (without breaking MVVM and PRISM Extensiblity).

See Documentation for more information about concept and step by step guide.

If you have a look at SourceCode, it is quite easy to adapt this into another Ribbon Control.

xaml.tv - Building IG Outlook Part 7 – Adding the Contacts Module

This is the seventh video in a series that will take you step-by-step on building a Prism application that mimics Microsoft Outlook.  In this video, we added a new Contacts module to the application.  We went through the necessary steps to add this module to both the Silverlight and the WPF applications.  We created a new module, and added views, OutlookBar groups, and Ribbon tabs to the new module.  Along the way, we ran into some common issues that you may face when adding modules to a fully featured application framework and how you would resolve those issues

In the past week I've kicked off my first Prism project and have been climbing the learning curve bit by bit. We've also invested in Infragistics, so using the two together only seems smart.

Brian Lagunas (@BrianLagunas, http://brianlagunas.com/) has a number of cool examples and I found the WPF PRISM 4.0 and Ribbons project, which looks cool, as well.

What do I think about Prism? It's pretty cool and looks like its going to let me build my complex application without tight coupling and a nice separation of concerns. I've been describing it as Lego for WPF app building...

Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in .Net, Development, Prism, WPF, XAML | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Mr. 7,000! This is my 7,000th post...
    Before this post; After; 20 visits between taking these snaps? Oh wait, that's probably me searching for past related posts....
  • "Windows Server Essentials Media Pack" (DNLA Stream, HTML5 and Dashboard Media stuff)
    Microsoft Downloads - Windows Server Essentials Media Pack This pack enables the media streaming functionality for Windows Server 2012...
  • Rad Gate Post... Get your Red Gate Post here...
    simple talk - Melanie Townsend - Get a copy of the Red Gate Post We recently put together a newspaper of some of the best articles fr...
  • Windows Management Framework 4.0 (PowerShell 4, PowerShell ISE, Management OData, WMI, etc.) now available
    Keith Hill's Blog - PowerShell 4.0 Now Available You can get PowerShell 4.0 for down level operating systems now via the WMF 4.0 d...
  • Viasfora - Your new favorite Visual Studio Text/*ML Editing Extension?
    Winterdom - Introducing Viasfora A couple of days ago, I unveiled Viasfora , my latest attempt at building a decently packaged extensi...
  • "Windows Server [2012 R2]: The Best Infrastructure to Run Linux Workloads"
    In the Cloud - What’s New in 2012 R2: Enabling Open Source Software Part 4 of a 9-part series . ... There are a lot of great s...
  • [Hardware Review] Life with Haswell... Haswell/Harris Beach Intel SDS Ultrabook Review - Part 2
    "So Greg, how's life with Haswell been?" "Pretty Sweet! (Mostly)" I've been given an opportunity to review t...
  • Fuzzy Lookup Add-In for Excel (Insert lame "Fuzzy, wuzzy was an Excel..." snip here)
    Microsoft Downloads - Fuzzy Lookup Add-In for Excel The Fuzzy Lookup Add-In for Excel performs fuzzy matching of textual data in Exce...
  • Caliburn.Micro v1.5.0 released (CM gets Tasks, Async/Await and Share/Setting for RT... and bug fixes of course)
    Caliburn.Micro - Caliburn.Micro v1.5.0 "Release Notes This release fixes many bugs. It also adds support for Task and async/a...
  • Just about everything you ever wanted to know about SQL Server Date and Time Data Types...
    CodeProject - Date and Time Data Types and Functions - SQL Server (2000, 2005, 2008, 2008 R2, 2012) Introduction It would be bette...

Categories

  • .Net
  • 3DPrinting
  • AFeedYouShouldRead
  • Agile
  • ALM
  • Amazon
  • Amiga
  • Analytics
  • Android
  • ASP.NET
  • Azure
  • BigData
  • bing
  • Blogging
  • Book
  • BookReview
  • BUILD
  • C
  • C#
  • C++
  • Career
  • Cat
  • cheatsheet
  • ClickOnce
  • Cloud
  • ComputerHardware
  • css
  • Data
  • DBA
  • DependencyInjection
  • Deployment
  • Design
  • Development
  • devops
  • DVCS
  • ebook
  • EDD
  • Education
  • EnterpriseLibrary
  • EntityFramework
  • Exchange
  • Expression
  • gadget
  • Game
  • GIT
  • Google
  • Government
  • Hadoop
  • hardware
  • HardwareReview
  • HaswellReview
  • HTML5
  • Humor
  • IE
  • IEExtension
  • IfAllElseFails
  • IIS
  • ILMerge
  • Image
  • Infographic
  • interview
  • InversionOfControl
  • Java
  • Javascript
  • Kinect
  • LightSwitch
  • LINQ
  • Linux
  • LosAngeles
  • Lucene
  • Lync
  • MEF
  • Metro
  • MicrosoftOffice
  • MicrosoftOutlook
  • Mono
  • MVC
  • MVVM
  • NetMon
  • NLP
  • NoSQL
  • NuGet
  • OData
  • OneNote
  • OpenXML
  • Paint.Net
  • Personal
  • Photosynth
  • Physics
  • portable
  • Poster
  • PowerShell
  • Preparedness
  • Presentation
  • Prism
  • PrivateCloud
  • RegEx
  • RemoteDesktop
  • Reporting
  • RIAServices
  • Science
  • ScienceFiction
  • Scratch
  • Scrum
  • ServiceBus
  • SharePoint
  • Silverlight
  • SimiValley
  • SPA
  • Space
  • SQLServer
  • Storyboard
  • Surface
  • SVG
  • SystemAdministration
  • T4
  • TeamBuild
  • TeamFoundationServer
  • TechEd
  • Training
  • TypeScript
  • UnitTesting
  • UnityApplicationBlock
  • Utility
  • Veteran
  • VirtualMachine
  • Visio
  • VisualBasic
  • VisualStudio
  • WCF
  • Web X.X
  • Webcast
  • WebFeed
  • WebMatrix
  • Windows
  • Windows7
  • Windows8
  • Windows8.1
  • WindowsHomeServer
  • WindowsLiveWriter
  • WindowsPhone
  • WindowsServer
  • WinRT
  • WiX
  • WMI
  • WOPI
  • WPF
  • XAML
  • XBox360
  • XboxOne
  • zombie

Blog Archive

  • ▼  2013 (500)
    • ►  December (12)
    • ►  November (61)
    • ►  October (65)
    • ►  September (38)
    • ►  August (47)
    • ►  July (75)
    • ►  June (39)
    • ►  May (40)
    • ►  April (42)
    • ▼  March (39)
      • Goodreads Amazon ... Amazon has bought Goodreads
      • 40,785 Microsoft Patents (and counting). See all t...
      • What RPG has eight different bosses, achievements,...
      • RU 4 U - Registry Usage (RU) v1.0 released. Comman...
      • LifeHacker step by step guide to get going with yo...
      • Send To Send To... How to use Send To to add new i...
      • BUILD 2013 Announced - June 26-28 in San Francisco...
      • 14 Azure whitepapers, ebooks and guidance...
      • PresentOn <-> PresentOff - Using the Productivity ...
      • Oh sheet... I mean, Oh Spritesheet Export plugin f...
      • Need an ADS [Alternate Data Streams] Refresher?
      • You CAN eat this paste... well... kind of. Pretty ...
      • Think maybe you do CTRL-V code too much? Here's a ...
      • If CTRL-V is your coding friend (admitted or not),...
      • Exchange Online getting serious about helping with...
      • DID you see Dean's Icons for Dev's Round-up?
      • BUILD Lumia 920's Get Protico
      • Making a cloudy Windows Phone 8 Lockscreen with th...
      • Caliburn.Micro v1.5.0 released (CM gets Tasks, Asy...
      • Are you smarter than... a C# Rookie?
      • Image Tools Extension for Visual Studio - Quick im...
      • Congratulations you can become a Microsoft Licensi...
      • NHunspell v1.1.0 released (Think "Hunspell for .Ne...
      • Stupid Feed Tricks to amaze your producers, consum...
      • Prism? Infragistics? Dock and Ribbon? Oh my...
      • From Images to Icons, a simple C# example
      • Using Google Docs to find a Google Reader replacem...
      • Web Feed Reader Wish List - My Must Have/Should Ha...
      • And so dies my desktop feedreader of choice too, G...
      • Google Reader Bytes the Dust - Google Reader is be...
      • I HAZ ICONZ MONSTRZ- 1309+ Free icons from iconmon...
      • Now this is the kind of vinyl I can appreciate... ...
      • Pre for free... Microsoft provides a promo code to...
      • Jean-Sébastien lobs the Windows Phone 8 Company Po...
      • 55+ Windows 8 App Templates... 55 "Getting Your Wi...
      • Track the carbon footprint of a hashtag (aka Tweet...
      • Ignite your web dev with the Infragistics Ignite U...
      • Scrum, Anime style... (Yes, an Anime Scrum overvie...
      • Windows Phone 8 Finally Gets Photosynth (and it's ...
    • ►  February (42)
Powered by Blogger.

About Me

Unknown
View my complete profile