Search found 53 matches

by DevFear
Yesterday, 22:18
Forum: General Discussion
Replies: 2
Views: 144

Re: Noesis Studio and context switch

Just great news
by DevFear
14 Mar 2024, 22:58
Forum: General Discussion
Replies: 2
Views: 144

Noesis Studio and context switch

My first impressions of Noesis Studio are extremely positive. But despite this, preprocessors (#IF NOESIS) and other things related to context switching between WPF and Unity remain a very strong inconvenience. Does Noesis Studio support code behind (ViewModel in MVVM) or are there alternative solut...
by DevFear
10 Nov 2023, 12:28
Forum: General Discussion
Replies: 5
Views: 1675

Re: ObservableCollection AddRange vs Async Method

Source: "Unity overwrites the default SynchronizationContext with a custom UnitySynchronizationContext and runs all the tasks on the main thread in both Edit and Play modes. To utilize async tasks, you must manually create and handle your own threads with a TaskFactory, as well as use the defa...
by DevFear
25 Oct 2023, 11:32
Forum: General Discussion
Replies: 5
Views: 1675

ObservableCollection AddRange vs Async Method

Hi. ObservableCollection does not support adding a list at a time, so I implemented my own class that contains methods for working with ranges: public void AddRange(IEnumerable<T> collection, bool sendResetAction = false) { if (collection == null) throw new ArgumentNullException(nameof(collection) +...
by DevFear
07 Oct 2023, 09:10
Forum: General Discussion
Replies: 3
Views: 636

Re: Inheritance from Dependencyobject

Thanks!
by DevFear
06 Oct 2023, 16:07
Forum: General Discussion
Replies: 1
Views: 588

ValidateValueCallback

When is ValidateValueCallback planned to be implemented? Are there now alternative solutions for custom elements (without binding to VM)?
by DevFear
06 Oct 2023, 12:16
Forum: General Discussion
Replies: 3
Views: 636

Re: Inheritance from Dependencyobject

So I made a mistake and realized that the class needs to be inherited from Freezable so that it can be used in defaultValue when registering in DependencyProperty. Is there any practice showing when it is better to use DependencyObject and when Freezable?
by DevFear
06 Oct 2023, 12:07
Forum: General Discussion
Replies: 3
Views: 636

Inheritance from Dependencyobject

To work, I decided to create a primitive DependencyObject, which is a property of the control. However, Noesis writes that this object should be thread-free. public abstract class ValueHandler : DependencyObject { public abstract Type ValueType { get; } public ValueHandler() { } public abstract bool...
by DevFear
05 Oct 2023, 16:18
Forum: General Discussion
Replies: 3
Views: 995

TextBox double, decimal

Hi, does textbox support decimal and double values? When I need to write a value where precision is needed, textBox rounds the value leaving 5 digits after the decimal point.