timheuer / callisto

A control toolkit for Windows 8 XAML applications. Contains some UI controls to make it easier to create Windows UI style apps for the Windows Store in accordance with Windows UI guidelines.
http://timheuer.com/blog/archive/2012/05/31/introducing-callisto-a-xaml-toolkit-for-metro-apps.aspx
Other
338 stars 108 forks source link

Can't add flyout #76

Closed edulorenzo closed 12 years ago

edulorenzo commented 12 years ago

Hi Tim,

Just downloaded and installed Callisto. When I drop a flyout control on a blank page (new project) it gives me exceptions and I can't use it.

Am using W8 RP, VS Express RC for W8

at Microsoft.Expression.Platform.InstanceBuilders.InstanceBuilderOperations.InstantiateType(Type type, Boolean supportInternal) at Microsoft.Expression.Platform.InstanceBuilders.ClrObjectInstanceBuilder.InstantiateTargetType(IInstanceBuilderContext context, ViewNode viewNode) at Microsoft.Expression.Platform.InstanceBuilders.ClrObjectInstanceBuilder.Instantiate(IInstanceBuilderContext context, ViewNode viewNode) at Microsoft.Expression.WindowsXamlPlatform.InstanceBuilders.FrameworkElementInstanceBuilder.Instantiate(IInstanceBuilderContext context, ViewNode viewNode) at Microsoft.Expression.Platform.InstanceBuilders.ViewNodeManager.CreateInstance(IInstanceBuilder builder, ViewNode viewNode)

at Windows.UI.Xaml.Window.add_Activated(WindowActivatedEventHandler value) at System.Runtime.InteropServices.WindowsRuntime.WindowsRuntimeMarshal.NativeOrStaticEventRegistrationImpl.AddEventHandler[T](Func2 addMethod, Action1 removeMethod, T handler) at System.Runtime.InteropServices.WindowsRuntime.WindowsRuntimeMarshal.AddEventHandler[T](Func2 addMethod, Action1 removeMethod, T handler) at Callisto.Controls.Flyout..ctor()

Thank you for giving attention to this. Thanks in advance!

timheuer commented 12 years ago

There is a known issue that Flyout doesn't work on the design surface given the design of the control. I've been working to change that but it would result in a breaking change that I'm trying to prevent now. In the meantime, see the test app for an example usage.

edulorenzo commented 12 years ago

Thanks Tim.