Search found 2337 matches

by sfernandez
Today, 09:42
Forum: General Discussion
Replies: 3
Views: 68

Re: Animated ProgressBar

Great, I'm marking this as solved.
by sfernandez
24 Sep 2021, 22:04
Forum: General Discussion
Replies: 8
Views: 42

Re: Problem with custom "SwitchConverter" and Static Resources

Sure, please attach the definition and implementation of SwitchCase class and I'll take a look.
In the meantime you can try another approach, instead of implementing yourself that interface, inherit SwitchCase class from Animatable which already implements it.
by sfernandez
24 Sep 2021, 12:51
Forum: General Discussion
Replies: 8
Views: 42

Re: Problem with custom "SwitchConverter" and Static Resources

We improved our Resources overview for next version to mention about the IUITreeNode requirement when using the C++ SDK.
by sfernandez
24 Sep 2021, 12:25
Forum: General Discussion
Replies: 8
Views: 42

Re: Problem with custom "SwitchConverter" and Static Resources

When a class implements an interface you can use the NS_IMPLEMENT_INTERFACE_FIXUP macro to reimplement the base Interface methods. class NS_GUI_CORE_API Animatable: public Freezable, public IUITreeNode { ... NS_IMPLEMENT_INTERFACE_FIXUP private: IUITreeNode* mOwner; NS_DECLARE_REFLECTION(Animatable,...
by sfernandez
24 Sep 2021, 11:28
Forum: General Discussion
Replies: 8
Views: 42

Re: Problem with custom "SwitchConverter" and Static Resources

You are working with our C++ SDK, right? In that case I guess you are inheriting from BaseValueConverter to implement your own converter. As you can see that base class implements the IUITreeNode interface that the StaticResource uses to walk up the tree when searching for the resource. You should i...
by sfernandez
24 Sep 2021, 11:02
Forum: General Discussion
Replies: 3
Views: 68

Re: Animated ProgressBar

You just need to bind the viewmodel property to a different property (Tag or any attached property you defined) and animate the Value property of the progress bar when that other property changes: <Grid xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microso...
by sfernandez
23 Sep 2021, 12:39
Forum: General Discussion
Replies: 5
Views: 103

Re: Iteraction.Trigger inside DataTemplate

This should the trick: <DataTemplate DataType="{x:Type SubHierarchy}"> <TreeView x:Name="tv" ItemContainerStyle="{StaticResource Style.SceneMultiSelectedTreeViewItem}" ItemsSource="{Binding Root.Childs}"> <i:Interaction.Behaviors> <TreeViewMultipleSelectionBehavior SelectedItems="{Binding SelectedNo...
by sfernandez
23 Sep 2021, 11:19
Forum: General Discussion
Replies: 5
Views: 103

Re: Iteraction.Trigger inside DataTemplate

Hi, this problem is related to this know bug: https://www.noesisengine.com/bugs/view.php?id=1476 When template gets applied, the cloned behavior is not properly registered in the namescope, so instead of returning the cloned object, it returns the behavior in the template definition. Your approach w...
by sfernandez
21 Sep 2021, 10:38
Forum: General Discussion
Replies: 2
Views: 79

Re: Stopped rendering (Background rendering)

In your application class override RunInBackground property:
public partial class App : Application
{
  protected override bool RunInBackground => true;
  // ...
}
by sfernandez
21 Sep 2021, 10:34
Forum: General Discussion
Replies: 14
Views: 415

Re: Cannot build the UE4 plugin 3.1.1

I tried directly running the project, starts up fine, the login part of our app shows up fine, but after clicking login, not sure what's making it crash. Could you please create a ticket in our bugtracker attaching a minidump of the crash. Before you try to upgrade your project to 4.27 we would lik...