Search found 3000 matches

by sfernandez
20 Feb 2024, 12:57
Forum: General Discussion
Replies: 3
Views: 95

Re: Visual states are not running storyboards within a control template

I tried the following xaml in our Xamltoy and works as expected: <Grid xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <Grid.Resources> <Style TargetType="{x:Type TabItem}"> <Setter Property="...
by sfernandez
20 Feb 2024, 12:45
Forum: General Discussion
Replies: 5
Views: 162

Re: To test the created prototype without connecting with Unity Engine

I guess you are using Blend 2022 right? Microsoft is breaking many things in its designer regarding WPF support. It is complaining about incorrect issues, you can even hit F5 to run the project without problems :( I was testing on Blend 2019 because it has better support for WPF projects and the des...
by sfernandez
20 Feb 2024, 12:26
Forum: General Discussion
Replies: 6
Views: 228

Re: LocExtension with Binding

Hi Otter, The LocExtension was designed to use static keys, because our understanding was that any dynamic data will be provided by the MVVM itself. So instead of using the LocExtension you would directly use a binding on the target property, and the binding will provide the translated data. <DataTe...
by sfernandez
19 Feb 2024, 13:29
Forum: General Discussion
Replies: 5
Views: 162

Re: To test the created prototype without connecting with Unity Engine

Hi, which Blend project are you using? Is the one included with the Unity samples when you import them?
Because I just installed 3.2.3 version into Unity, imported Inventory sample, opened the Inventory-blend.sln file included, built the solution and got no errors.
by sfernandez
19 Feb 2024, 13:28
Forum: General Discussion
Replies: 2
Views: 87

Re: Value Converter binding converter failed to convert value 'null'

Try returning the value as a float, because I guess this converter was applied to the Width property of a UI element, right? return (float)(width * factor); There is a known issue regarding the values returned by converters, 1376 , so for now the converters need to return the type of the target prop...
by sfernandez
19 Feb 2024, 11:58
Forum: General Discussion
Replies: 2
Views: 121

Re: Multiple ViewModel Connections in NoesisView

Hi, what do you mean by "multiple view models that can operate concurrently"? A View can only be connected to a single view model at the same time, but inside the View you can point to different properties to access several sub-view models: <Grid DataContext="{Binding ModelA}">.....
by sfernandez
19 Feb 2024, 11:54
Forum: General Discussion
Replies: 6
Views: 195

Re: ImageSource fallback only works when property is not registered.

String properties are a bit different in Noesis compared to WPF because in C# strings are reference values that can be null, but not in C++. So if the binding path is correct and the property returns an empty string then the binding will just use that value (no FallbackValue or TargetNullValue). If ...
by sfernandez
15 Feb 2024, 19:21
Forum: General Discussion
Replies: 6
Views: 195

Re: ImageSource fallback only works when property is not registered.

The FallbackValue is used when the binding cannot be resolved (the property in the binding path can't be found for example). If the binding was correctly evaluated but the return value was just null, then you should use the TargetNullValue property of the binding. In the following xaml the second re...
by sfernandez
08 Feb 2024, 16:55
Forum: General Discussion
Replies: 12
Views: 1928

Re: Getting started with Unreal - lots of confusion

The RichText exposed in Noesis is based on the use of Styles as explained in the tutorial you linked. So each of the tags you specify in the text, like <char>, is mapped to a Style defined in your xaml resources. In the upcoming 3.2.3 version we improved the RichText extension to support not only st...
by sfernandez
08 Feb 2024, 14:28
Forum: General Discussion
Replies: 2
Views: 141

Re: b:DataTrigger not working with enums

It is possible that you are not registering the converter for the enum: RegisterComponent<EnumConverter<SignInTransitionStates>>(); You need to do that in order for the XAML parser to understand the string used in Value="SignInIntro". We are doing this in our Menu3D demo: https://github.co...