Coder Social home page Coder Social logo

Comments (3)

ylatuya avatar ylatuya commented on August 10, 2024

Hi!
Thanks for your feedback!
I believe the CloseCommand error would be the easier one to fix. The ErrorViewModel is missing that command property and it should be set before the preview, here:
https://github.com/ylatuya/XAMLator/blob/master/XAMLator.Server.Shared/Previewer.cs#L62
Using the command created here:
https://github.com/ylatuya/XAMLator/blob/master/XAMLator.Server.Shared/Previewer.cs#L25

For the DesingInstance instance we might need to register that extension somehow but I don't know how to do it honestly.

For the ControlTemplate issue, it's probably because pages are previewed with the PreviewPage class, which might not be supporting it, we should find a way to support it correctly.

from xamlator.

ChasakisD avatar ChasakisD commented on August 10, 2024

I will look to the binding warning, as far as I've got some free time.

During some research, ControlTemplate appears on the TemplatedPage which inherits from Page, while the PreviewPage is MultiPage< Page > and not MultiPage< TemplatedPage >

from xamlator.

ylatuya avatar ylatuya commented on August 10, 2024

A solution would be to add the bindable property to the PreviewPage and forward it to the child page

from xamlator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.