Git Product home page Git Product logo

Comments (3)

ME-MarvinE avatar ME-MarvinE commented on August 15, 2024

Hi,

Adding x:Name="This" to the page makes everything work as expected:

In the samples, there are bindings which use Source={x:Reference This} in order to escape the local binding context and reference the binding context of the page. These bindings look for a VisualElement with x:Name="This" but this is not defined anywhere in "CalendarPage.xaml", so these bindings fail silently.

You can identify these errors by looking at the Output window in debug mode. Here's an example of one from your repo:
[0:] Microsoft.Maui.Controls.Xaml.Diagnostics.BindingDiagnostics: Warning: 'BindingContext' property not found on 'Microsoft.Maui.Controls.Xaml.ReferenceExtension', target property: 'XCalendar.Maui.Views.DayView.CurrentMonthCommand'

There is also a reference to a namespace that does not exist in your solution and may throw errors when attempting to use it: xmlns:ViewModels="clr-namespace:XCalendarMauiSample.ViewModels.

Unrelated, but every time I see XCalendar.Maui used in an actual app I'm reminded of the disappointment I felt when I first observed its terrible speed after porting the plugin to .NET MAUI.

Thanks for using XCalendar.

from xcalendar.

mardausdennis avatar mardausdennis commented on August 15, 2024

You are the G.O.A.T. Thanks for your insanely quick response and thanks for noticing my silly error. Do you maybe have a patreon or something of that kind?

from xcalendar.

ME-MarvinE avatar ME-MarvinE commented on August 15, 2024

No, I don't. I looked into GitHub sponsors but couldn't figure that out, maybe Patreon would be easier.

Always happy to help.

from xcalendar.

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.