About Pivot and Panorama Convention

Topics: Conventions
Jan 2, 2012 at 6:33 PM


I wonder why the conventions for Pivot and Panorama controls are not being set in ConventionManager like all other WPF and Silverlight controls? Is there a technical reason or something?


Jan 2, 2012 at 7:39 PM

Because they aren't part of the core and require an additional assembly reference to the toolkit (if I remember correctly).

Jan 2, 2012 at 7:45 PM
Edited Jan 2, 2012 at 7:51 PM

Yes, you're absolutly right. I missed this fact :)

Pivot and Panorama are in Microsoft.Phone.Controls namespace and require Microsoft.Phone.Controls.dll library.

Anyway, this library is added by default to every WP project I guess, so it'll not harm to depend on it... but again, unless I use Pivot or Panorama, I don't really need it.

Okay, that was only thinking loud; never mind :)

Jan 2, 2012 at 8:55 PM

It's a good question. I designed the Nuget package to add those conventions because I figure most people will use them, but it's also easier for them to remove the dependencies that way if they aren't (as opposed to a core dependency).