Search found 3149 matches
- 05 Dec 2024, 11:00
- Forum: General Discussion
- Replies: 5
- Views: 1182
Re: Unity Error: "Unknown x:Class type WPFBlend.MainWindow"
Getting this error trying to make a new xaml file attached to a new scene. It's probably something very rudimentary, I just don't know C# It probably showed if you saved the .xaml first and then the .cs, so Unity didn't compile it before processing the xaml file. I am still having a problem in Blen...
- 05 Dec 2024, 10:51
- Forum: General Discussion
- Replies: 2
- Views: 44
Re: Custom effect resets CompositeTransform (Unity6/HDRP)
This is due to how effects and opacity groups are generated. When an element of the tree has an effect specified or an opacity set, that whole subtree is rendered to an offscreen texture to generate such effect or composite the subtree so the opacity can be correctly applied. This means that any 3D ...
- 04 Dec 2024, 10:50
- Forum: General Discussion
- Replies: 10
- Views: 7879
Re: Localization Formats
I'm assuming that this property would need to send an IPropertyNotification for when the language or the title key changed to render correctly? Exactly, if you plan to update the UI on language changes, then the properties using the localization dictionary need to notify when dictionary changes. I ...
- 03 Dec 2024, 11:18
- Forum: General Discussion
- Replies: 10
- Views: 7879
Re: Localization Formats
A ResourceDictionary has methods to access any resource defined there. For example, assuming you have a way to globally access the localization dictionary, your view model can do the following:
Code: Select all
public string Title => Localization.Resources[_titleKey];
- 03 Dec 2024, 11:10
- Forum: General Discussion
- Replies: 1
- Views: 66
Re: Dispatcher
Hello, Noesis does not handle any threads internally, all multithreading management relies on user code, so you're in charge of knowing which thread created the View and where all the updates should be sent. We have considered a few times to add a Dispatcher-like queue to the View that could be proc...
- 03 Dec 2024, 10:58
- Forum: General Discussion
- Replies: 3
- Views: 6554
Re: Sending dependency property via xaml to converter
If you can't use fallback values, then just return false in the converter while all the bindings get solved: bool cSlideButtonProgressConverter::TryConvert(Noesis::ArrayRef<Noesis::BaseComponent *> values, const Noesis::Type *targetType, Noesis::BaseComponent *param, Noesis::Ptr<Noesis::BaseComponen...
- 28 Nov 2024, 19:18
- Forum: General Discussion
- Replies: 10
- Views: 7879
Re: Localization Formats
I'd like to do something like: <Label Content={noesis:Loc {Binding TitleKey}} /> But it doesn't seem to work, is there a way to make this work? We decided not to support that scenario, as the ViewModel could return the localized string directly in the bound property. So instead of using the Loc ext...
- 28 Nov 2024, 10:23
- Forum: General Discussion
- Replies: 2
- Views: 96
Re: Saving and Setting Focused Element On UserControl Reload
The FocusManager allows you to create Focus Scopes which can store individual logical focus in different sections of the UI. For example, you can have a focus scope in your main screen and another one in your popup screen, so when the popup is closed you can set the focus to the main screen who will...
- 28 Nov 2024, 10:19
- Forum: General Discussion
- Replies: 1
- Views: 88
Re: Layout/size for inline, async-loaded textures
Hello, I was able to reproduce your issue, when the image is set the TextBlock is not correctly invalidated and measured again.
Could you please report it in our bugtracker?
Could you please report it in our bugtracker?
- 22 Nov 2024, 09:45
- Forum: General Discussion
- Replies: 3
- Views: 148
Re: Tooltips don't appear for context menu items
I see that WPF supports this scenario correctly, so could you please report it in our bugtracker?
We will add that functionality to context menu items too.
We will add that functionality to context menu items too.