Repository navigation
Replies: 3 comments 7 replies
|
|
0 replies
|
Hm its kind of never working... But I can add some code sample... Is "small repro" requiring a blank preset template? I am working with the extensions with recommended and could not really show something which is is this environment if have to use blanc... Could be possible that I misunderstood the "how to create a small repro" in docs and thats only meaning to not include the obj and bin folder...
…________________________________
From: Martin Zikmund ***@***.***>
Sent: Monday, January 6, 2025 2:06:48 PM
To: unoplatform/uno ***@***.***>
Cc: Sonja Schweitzer ***@***.***>; Author ***@***.***>
Subject: Re: [unoplatform/uno] x:String and x:True or x:False not working? (Discussion #19155)
TargetNullValue is supported in general, but maybe there is something specific that is causing problems in your use case. Can you please create a simple zip repro and post it as an issue?
—
Reply to this email directly, view it on GitHub<#19155 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BIOUJPRSSXN652ZL2BFFMLD2JJ5WRAVCNFSM6AAAAABUUEZOZGVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCNZUHA3TCNQ>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
3 replies
|
the That screenshot was for example taken from a mvux xaml using app with navigation. for example, I got this screenshot and reffering to my Repository |
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment



Uh oh!
There was an error while loading. Please reload this page.
Hey there,
I was following the x:Bind on Uno Plattform in the Documentation and tryed to define a TargetNullValue but seems like nothing is working if I do not want to add Functions or Propertys in my codebehind (would like to avoid that with using mvux)
Simple Examples:
x:Bind to AppName in my ViewModel which Bound to MainModel. I did set up the ViewModel Property in Codebehind like this:
and so far I am quite successfull with that, as long as I do not try to bind to a IState or try to bind a Button.Command to a public async Task.
so for this both cases, I would like to add that TargetNullValue in the x:Bind for the case of NullReferenceException.
for the Boolean I did try this:
{x:Bind ViewModel.BoolState, Mode=TwoWay, TargetNullValue={x:False}and for the Command I am missing what would be the correct thing for the Target beeing Null.
For the String Property one its working quite well with the only exception, dont use HotReload... than this OneWay bound String will be vanished until you restart your Application...
Hope someone can help me out for that?
Thanks in advance!
All reactions