Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HtmlControl content isn't assigned #1493

Closed
vertexpipeline opened this issue Apr 13, 2018 · 5 comments
Closed

HtmlControl content isn't assigned #1493

vertexpipeline opened this issue Apr 13, 2018 · 5 comments

Comments

@vertexpipeline
Copy link

I trying to use a HtmlControl but the XAML loader throws exception Portable.Xaml.XamlObjectWriterException: The value for 'Content' property is null
Also I tried to assign Content\Text parameter, but the loader throws exception too.
There is a MainWindows.xaml:

<Window xmlns="https://github.com/avaloniaui"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="AvaloniaApplication2">
  <HtmlControl>
    
  </HtmlControl>
</Window>

and Designer's (Loader says it too) log:

Portable.Xaml.XamlObjectWriterException: The value  for 'Content' property is null
   at Portable.Xaml.XamlObjectWriterInternal.OnWriteGetObject()
   at Portable.Xaml.XamlServices.Transform(XamlReader xamlReader, XamlWriter xamlWriter, Boolean closeWriter)
   at Avalonia.Markup.Xaml.AvaloniaXamlLoaderPortableXaml.LoadFromReader(XamlReader reader, AvaloniaXamlContext context)
   at Avalonia.Markup.Xaml.AvaloniaXamlLoaderPortableXaml.Load(Stream stream, Object rootInstance, Uri uri)
   at Avalonia.DesignerSupport.DesignWindowLoader.LoadDesignerWindow(String xaml, String assemblyPath)
   at Avalonia.DesignerSupport.Remote.RemoteDesignerEntryPoint.<>c__DisplayClass17_0.<OnTransportMessage>b__0()
@vertexpipeline vertexpipeline changed the title HtmlControl content not assigned HtmlControl content isn't assigned Apr 13, 2018
@danwalmsley
Copy link
Member

Html control hasn't been updated in a long time, what do you want from html control? I have a possible alternative see... https://github.com/VitalElement/CefGlue.Core which allows you to embed chrome engine to view Web pages or html, it's not so lightweight though, but does work

@vertexpipeline
Copy link
Author

Thanks, I was exploring Avalonia and found this control. I have not any tasks for this. Thanks for suggestion.

@vertexpipeline
Copy link
Author

Can we exclude this project from Avalonia?

@danwalmsley
Copy link
Member

I think that's probably a good idea

@jkoritzinsky
Copy link
Collaborator

I've moved the project into a separate repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants