> > >
ChildWindow and Accordion Styling
Express yourself! Share your work with other members of the Expression Community.

Each contribution is licensed to you under a License Agreement by its owner, not Microsoft. Microsoft does not guarantee the contribution or purport to grant rights to it.

ChildWindow and Accordion Styling

Average Rating:  (23)
Description
Discussions (3)

  • @ Leonardo Côco
    1 Posts | Last Post September 18, 2011
    • Hello Leonardo Côco, thank you for your 4 stars rating. Any suggestions on how to improve it?
  • Exceptions
    5 Posts | Last Post March 01, 2011
    • Compiling this gives me a lot of exceptions.
      
      
      ___________________________________________
      Error	1	The "ValidateXaml" task failed unexpectedly.
      System.IO.FileLoadException: Could not load file or assembly 'file:///E:\0_src\_SilverlIght\AnotherChildWindowStyling\AnotherChildWindowStyling\AnotherChildWindowStyling\Bin\Debug\System.Windows.Controls.Layout.Toolkit.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
      File name: 'file:///E:\0_src\_SilverlIght\AnotherChildWindowStyling\AnotherChildWindowStyling\AnotherChildWindowStyling\Bin\Debug\System.Windows.Controls.Layout.Toolkit.dll' ---> System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information.
      
         at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
         at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
         at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection, Boolean suppressSecurityChecks)
      xe
      
    • Hi,
      
      I guess you are trying to open it in .NET 4 Framework / Silverlight 4 environment. Am I right? Unfortunately that won't work.
      
      If so, please refer to the following links to get further background information:
      
      http://msdn.microsoft.com/en-us/library/dd409252(VS.100).aspx
      
      http://msdn.microsoft.com/en-us/library/ee890038(v=VS.100).aspx
      
      If not. Please post again. 
      
      Please note that my contribution was built for Silverlight 3 and .NET Framework Version 3.5.
      
      If you need a Silverlight 4 version please let me know.
      
      Best regards,
      Martin
    • You can download now the Silverlight 4 version:
      
      http://gallery.expression.microsoft.com/en-us/CWASTLBSL4
      
      Best regards,
      Martin
    • I have to correct one important thing:
      
      If you open the Silverlight 3 version of this download in Blend 4 you are asked if you want to convert the project to a Silverlight 4 version. If choose to convert the project it will be converted and everything works fine even in Blend 4 with Silverlight 4.
      
      Just to point another thing out:
      
      To prevent the error message you get please refer to this link and follow the instructions:
      
      http://msdn.microsoft.com/en-us/library/ee890038(v=VS.100).aspx
      
      
    • Very nice!
  • Excellent!!
    1 Posts | Last Post February 08, 2010
    • I was thinking about how to use an accordion for a solution in wpf, and today, reading my feeds I found this... one word, Excellent!! Congrats!

Details

Rate it:
 
 
 
 
 
  • Share It:
    E-mail Twitter del.icio.us Digg Facebook
  • Add To Favorites
  • Published: 1/30/2010
  • Tags: ChildWindow, Styling, Accordion
  • License Information:
    This contribution is licensed to you under Creative Commons by its owner, not Microsoft. Microsoft does not guarantee the contribution or purport to grant rights to it.