Search found 3014 matches
- 11 Mar 2024, 12:06
- Forum: General Discussion
- Replies: 3
- Views: 249
Re: Low performance when using BackgroundEffectBehavior.BlurEffect on many elements
Hi, this looks like something is wrong in our code because if the source of the behavior is always the same it should reuse the offscreen texture for all instances. Could you please report this in our bugtracker?
- 11 Mar 2024, 11:25
- Forum: General Discussion
- Replies: 4
- Views: 263
Re: Issues with TabControl Highlighting
Just for reference for other users, in the ItemTemplate you shouldn't put a TabItem, as I explained above the TabItem is automatically created by the TabControl when using ItemsSource. So either you use a TextBlock in the TabItem template and bind its text directly to the appropriate item property (...
- 08 Mar 2024, 12:27
- Forum: General Discussion
- Replies: 4
- Views: 263
Re: Issues with TabItem highlighting when unecessary
Hi, For a TabControl that uses ItemsSource, TabItems are automatically created by the TabControl for each item in the source collection, and it assigns the style set in ItemContainerStyle property, so this is where you have set your custom TabItem style: <TabControl x:Name="BuildingTabs" I...
- 08 Mar 2024, 11:58
- Forum: General Discussion
- Replies: 7
- Views: 608
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.
- 04 Mar 2024, 11:50
- Forum: General Discussion
- Replies: 2
- Views: 244
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...
- 04 Mar 2024, 10:52
- Forum: General Discussion
- Replies: 5
- Views: 166
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 ...
- 29 Feb 2024, 13:00
- Forum: General Discussion
- Replies: 6
- Views: 302
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.
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.
- 29 Feb 2024, 12:22
- Forum: General Discussion
- Replies: 6
- Views: 302
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...
- 29 Feb 2024, 12:03
- Forum: General Discussion
- Replies: 5
- Views: 166
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...
- 26 Feb 2024, 16:56
- Forum: General Discussion
- Replies: 6
- Views: 289
Re: LocExtension with Binding
Thanks for both tickets.