Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.
This repository was archived by the owner on May 1, 2024. It is now read-only.

[Bug] Multibinding converter (possibly multibinding in general) is not working in XAML, works in C# #14709

@ziomek64

Description

@ziomek64

Description

So today I've made myself IMultiValueConverter but it wasn't working for me. All the objects in value array are null. I've tried looking for any typos in paths but couldn't find anything. Then I swapped it with c# and it just works. I tried cleaning project, rebuilding. See the project below. The xaml code is there, and I've also commented c# so you can try them both one after another. I've tried looking for any mistake in xaml with someone experienced but we didn't find anything

I don't know if it's a bug with Multibinding converter or multibinding in general. I don't know if it's a bug at all, but I couldn't find typos.

Steps to Reproduce

Make a page, some IMultiValueConverter, bind objects

Expected Behavior

Works in both XAML and C# with values visible in debugger

Actual Behavior

Works in C# only, xaml objects in array are null

Basic Information

  • Version with issue: Newest
  • Last known good version: Don't know, i've tried pre 5.0 versions
  • Platform Target Frameworks: I have only Android, can't check anything else. Target android 11
  • Android Support Library / AndroidX Version: Newest
  • NuGet Packages: Just Xamarin.Forms fresh project
  • Affected Devices:

Reproduction Link

https://github.com/ziomek64/MultiBinding-not-working-test-project

Workaround

Use c#

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions