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

[WPF] DataGrid passes null upon entering cell to converters #7572

Open
bstrother1 opened this issue Dec 1, 2021 · 0 comments
Open

[WPF] DataGrid passes null upon entering cell to converters #7572

bstrother1 opened this issue Dec 1, 2021 · 0 comments
Labels
difficulty/challenging 🤯 Categorizes an issue for which the difficulty level is reachable with internals understanding kind/bug Something isn't working project/binding 🪢 Categorizes an issue or PR as relevant to the binding engine project/third-party 3️⃣ Categorizes an issue or PR as relevant to 3rd party libraries

Comments

@bstrother1
Copy link

Current behavior

WPF Datagrid has the same number of calls to a converter as UWP but is passing null on the first two rather than the actual value. UWP does not do this.

Expected behavior

WPF should not pass null to converters.

How to reproduce it (as minimally and precisely as possible)

The steps to reproduce are

  1. Have an MVVM structure
  2. Have an observable collection attached to a datagrid
  3. In the datagrid have a converter attached to a column

UntoTryThree.zip

Workaround

None

Works on UWP/WinUI

Yes

Environment

Uno.UI / Uno.UI.WebAssembly / Uno.UI.Skia

NuGet package version(s)

all runtime; build; native; contentfiles; analyzers; buildtransitive all runtime; build; native; contentfiles; analyzers; buildtransitive

Affected platforms

Skia (WPF)

IDE

Visual Studio 2019

IDE version

16.11.7

Relevant plugins

No response

Anything else we need to know?

No response

@bstrother1 bstrother1 added difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification labels Dec 1, 2021
@jeromelaban jeromelaban added project/binding 🪢 Categorizes an issue or PR as relevant to the binding engine and removed triage/untriaged Indicates an issue requires triaging or verification difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. labels Dec 2, 2021
@jeromelaban jeromelaban added the difficulty/challenging 🤯 Categorizes an issue for which the difficulty level is reachable with internals understanding label Jan 10, 2022
@MartinZikmund MartinZikmund changed the title [WPF] Datagrid Passes Null upon entering cell to converters [WPF] DataGrid passes null upon entering cell to converters Jul 19, 2023
@MartinZikmund MartinZikmund added the project/third-party 3️⃣ Categorizes an issue or PR as relevant to 3rd party libraries label Jul 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty/challenging 🤯 Categorizes an issue for which the difficulty level is reachable with internals understanding kind/bug Something isn't working project/binding 🪢 Categorizes an issue or PR as relevant to the binding engine project/third-party 3️⃣ Categorizes an issue or PR as relevant to 3rd party libraries
Projects
None yet
Development

No branches or pull requests

3 participants