Search found 12 matches
- 08 May 2021, 08:24
- Forum: General Discussion
- Replies: 1
- Views: 2574
ListView of CheckBox with content binding
Hi, I am trying to create a ListView of checkbox items, with data binding to a data model created in c++, but unable to make the checkbox items display. Not sure if there is anything I missed? I referenced the tutorial here . The XAML code is as follows: <UserControl xmlns="http://schemas.micro...
- 21 Apr 2021, 11:57
- Forum: General Discussion
- Replies: 18
- Views: 14348
Re: The calling thread cannot access this object because a different thread owns it.
Oh I see now, so I figure Content is not simply an atomic-like property, but it is well coupled with the whole contents of NumericUpDownControl , which essentially includes all the child controls' Content, and thus it could not be bound to the parent's one. Yeah, I was actually trying to do a pure X...
- 21 Apr 2021, 08:37
- Forum: General Discussion
- Replies: 18
- Views: 14348
Re: The calling thread cannot access this object because a different thread owns it.
Oh, sorry I'm still new to xaml and still trying to know more. So by this line <Button Content="{Binding Content, ElementName=NumericUpDownControl}" .../> I would understand as the Button's Content take its value from NumericUpDownControl's Content , which I suppose is initialized in the p...
- 19 Apr 2021, 12:47
- Forum: General Discussion
- Replies: 18
- Views: 14348
Re: The calling thread cannot access this object because a different thread owns it.
Hi sfernandez, Oh so that created a binding loop? I am just a bit confused, so just to get some more details for the report, since we don't specify Mode=TwoWay there, and if Button's Content is bound to NumericUpDownControl's Content, is that still one-way binding? And this pure xaml is apart from m...
- 17 Apr 2021, 10:13
- Forum: General Discussion
- Replies: 18
- Views: 14348
Re: The calling thread cannot access this object because a different thread owns it.
Hi sfernandez, Thanks for your confirmation! Sorry, I actually copied the source here from my customized one and forgot to remove override . Yeah I'm trying to figure out why it works fine with this UserControl tutorial example as you also tried, but does not with my custom source though I have no w...
- 14 Apr 2021, 08:35
- Forum: General Discussion
- Replies: 18
- Views: 14348
Re: The calling thread cannot access this object because a different thread owns it.
Hi sfernandez, Is that it is not yet supported in C++ SDK 3.0.11? I don't see the Invoke() in NoesisSDK/Include/NsGui/DispatcherObject.h And also in UE, when I run this snippet under a custom handler named `OnInitialized()`, which is bound to FrameworkElement::Initialized event: class CustomUIContro...
- 12 Apr 2021, 18:12
- Forum: General Discussion
- Replies: 5
- Views: 2007
Re: DataBinding in Unreal
Hi sfernandez, In DataBinding tutorial, there mentions a class named NotifyPropertyChangedBase , which currently resides at NoesisSDK/Src/Packages/App/ApplicationLauncher/Include/NsApp/NotifyPropertyChangedBase.h. I wonder why don't you make it available at NoesisSDK/Include , so a client UE project...
- 09 Apr 2021, 05:05
- Forum: General Discussion
- Replies: 2
- Views: 1359
Re: Font not found in Linux UE4
Yeap, so I've created it here:
https://www.noesisengine.com/bugs/view.php?id=1961
https://www.noesisengine.com/bugs/view.php?id=1961
- 04 Apr 2021, 17:05
- Forum: General Discussion
- Replies: 3
- Views: 1692
Re: How to declare the reflection for a template cpp class
Yeap, thanks for your confirmation! Indeed, if I use say "CustomControl<float>", there will be an error about some invalid token.
- 01 Apr 2021, 10:13
- Forum: General Discussion
- Replies: 3
- Views: 1692
Re: How to declare the reflection for a template cpp class
Oh I tried:
and it compiles.
Code: Select all
NS_IMPLEMENT_INLINE_REFLECTION_(FCustomControl, UserControl, Noesis::IdOf("CustomControl<", Noesis::IdOf<Type>(), ">"))