Search found 2330 matches

by sfernandez
20 minutes ago
Forum: General Discussion
Replies: 2
Views: 43

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: 71

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: 8
Views: 344

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...
by sfernandez
20 Sep 2021, 17:17
Forum: General Discussion
Replies: 3
Views: 965

Re: ImageBrush works Abnormally in Noesis 3.1.1

Do you need the base tile centered in the area that ImageBrush should fill? If that is the case, then you need to calculate the Viewport property of the ImageBrush based on the Image size and the area size. You can create a Converter that calculates it to assign the Viewport in XAML. Please let me k...
by sfernandez
20 Sep 2021, 17:12
Forum: General Discussion
Replies: 1
Views: 80

Re: Custom bounding box hit test

VisualTreeHelper.GetDescendantBounds() will give you the 2D bounding box of any UI element in the tree. You can also obtain the min/max Z of the descendant if you need to calculate the 3D bounds.

Is this what you are looking for?
by sfernandez
20 Sep 2021, 16:57
Forum: General Discussion
Replies: 2
Views: 2199

Re: Multiple problems with text fonts

Hi, 1) Could you please open a ticket and attach a font file that doesn't work for you? How are you referencing the font in XAML? As explained in our Text tutorial , if you don't specify a folder before the '#' sign it will try to find the font in the operating system. Are you testing this in macOS?...
by sfernandez
20 Sep 2021, 10:42
Forum: General Discussion
Replies: 3
Views: 965

Re: ImageBrush works Abnormally in Noesis 3.1.1

Hi, the behavior in 3.1 is correct compared to WPF where an Image with Stretch="None" and a Viewport="0,0,1,1" (entire target) leaves transparent border if image is smaller than target surface. imgbrnone.jpg If you want Tile to work, the Viewport should be smaller than the target surface: <Rectangle...
by sfernandez
17 Sep 2021, 19:33
Forum: General Discussion
Replies: 8
Views: 1632

Re: Crash using std::map to sort items in ObservableCollection

Regarding your sort approach (using an intermediate map) I want to mention that you can use the Move method in ObservableCollection to sort your items without removing and adding them. This will perform a lot better as Move notifications just change the associated containers index (if collection is ...
by sfernandez
16 Sep 2021, 13:07
Forum: General Discussion
Replies: 3
Views: 2317

Re: TreeView / ListView rendering hidden rows outside local viewport

Great, thanks for the update.
by sfernandez
16 Sep 2021, 12:34
Forum: General Discussion
Replies: 2
Views: 2595

Re: Update UI from different thread.

I was going to say that you shouldn't use Dispatcher.CurrentDispatcher.CheckAccess() because that returns the dispatcher for the current thread, so it will always have access. And that you would probably need to store the Dispatcher used for the UI, so you can check against it, something like: prote...