Skip to content
This repository has been archived by the owner on Nov 3, 2018. It is now read-only.

developing an Universal App using Radical : markup not work #36

Open
massimopasquali opened this issue May 26, 2016 · 3 comments
Open

Comments

@massimopasquali
Copy link

Hello,
I'm developing an Universal App using Radical, so this afternoon I have tried to use this Namespace in my XMAL

xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:markup="http://schemas.topics.it/wpf/radical/windows/markup"
xmlns:behavior="http://schemas.topics.it/wpf/radical/windows/behaviors"

But I haven't been able to do that Text="{markup:EditorBinding TargetSpeed}"

can you help me, give me some suggestions?

grazie

@mauroservienti
Copy link
Member

Unfortunately the markup:EditorBinding is not supported on UWP, UWP doesn't support custom markup extensions so there is no way to provide the same functionality.
The workaround, tedious I know, is to use the standard Binding markup extension and set to true all the flags that the markup:EditorBinding sets to true:

<TextBox Text="{Binding Path=MyText, 
                        UpdateSourceTrigger=PropertyChanged, 
                        NotifyOnValidationError=True, 
                        ValidatesOnDataErrors=True, 
                        ValidatesOnExceptions=True}" />

Source: https://github.com/RadicalFx/Radical/wiki/Editor-binding

@massimopasquali
Copy link
Author

Thanks, I have to developer an app with xamarin forms, can I use Radical with it?

@mauroservienti
Copy link
Member

Ooops. I totally missed this. The universal version should work with Xamarin as well for the ViewModel section, I suspect all what is markup simply can't work on Xamarin XAML dialect. Unfortunately my knowledge of Xamarin platform is very little.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants