Search found 2991 matches

by sfernandez
08 Mar 2024, 11:58
Forum: General Discussion
Replies: 6
Views: 197

Re: Another Unity Editor crash...

Thanks a lot for the repro, I was able to find what was going on and provided some patches in the tracker.
by sfernandez
04 Mar 2024, 11:50
Forum: General Discussion
Replies: 2
Views: 193

Re: Multi User views

Hi, sorry for the very late reply but we were trying to get our heads around this problem. One way to be implemented from outside is by specify some attached property to define if a control is being controlled by any specific gamepad (so you can use this to show some visual cue in your templates), a...
by sfernandez
04 Mar 2024, 10:52
Forum: General Discussion
Replies: 5
Views: 143

Re: Custom behavior with a group of setters to apply based on a feature flag

The Setter.Property uses a converter to find the dependency property from the name. In case the Setter is used inside a Style or a Template, if you don't specify a TargetName, it can use the TargetType to resolve the type to search for the property. As you're not inside a Style or Template you need ...
by sfernandez
29 Feb 2024, 13:00
Forum: General Discussion
Replies: 6
Views: 184

Re: Unity/C# without XAML?

You can have a collection of collections if you need some kind of grouping, if that makes sense.
For example a list of categories, and then each category a list of options.
In that scenario you can even define expanders for each category to group each list of options.
by sfernandez
29 Feb 2024, 12:22
Forum: General Discussion
Replies: 6
Views: 184

Re: Unity/C# without XAML?

Although it is possible just to create UI elements in code: StackPanel stackV = new StackPanel(); TextBlock tb = new TextBlock("Header") { Foreground = Brushes.White, FontWeight = FontWeight.Bold }; stack.Children.Add(tb); { StackPanel stackH = new StackPanel { Orientation = Orientation.Ho...
by sfernandez
29 Feb 2024, 12:03
Forum: General Discussion
Replies: 5
Views: 143

Re: Custom behavior with a group of setters to apply based on a feature flag

Hi, You should get the value from the getter and apply it to the associated object: void ApplySetter(BaseSetter* setter) { DependencyObject* dob = GetAssociatedObject(); if (dob == nullptr) return; Setter* setter_ = (Setter*)setter; const DependencyProperty* dp= setter_->GetProperty(); BaseComponent...
by sfernandez
26 Feb 2024, 16:56
Forum: General Discussion
Replies: 6
Views: 211

Re: LocExtension with Binding

Thanks for both tickets.
by sfernandez
26 Feb 2024, 16:55
Forum: General Discussion
Replies: 4
Views: 371

Re: Support of System.Threading Class

Hi, unfortunately this feature is still not implemented in 3.2.3 version.

Our View exposes a way to create timers though, so you can always create like this:
int timerId = element.View.CreateTimer(intervalMs, OnTimerCallback);
Could that work for you?
by sfernandez
22 Feb 2024, 10:55
Forum: General Discussion
Replies: 3
Views: 86

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

Could you please open a ticket in our bugtracker about this?
by sfernandez
22 Feb 2024, 10:54
Forum: General Discussion
Replies: 6
Views: 181

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

Thanks for the ticket!