Search found 4 matches

by arvenyon
01 Nov 2024, 14:00
Forum: General Discussion
Replies: 6
Views: 8381

Re: ItemsControl Bindings

Hey, yeah, that was it. Couldn't see the forest for the trees.
by arvenyon
28 Oct 2024, 21:57
Forum: General Discussion
Replies: 6
Views: 8381

Re: ItemsControl Bindings

Hey there, thank you for taking your time! Yeah, the properties should match with what I've bound. MainViewModel: public class MainViewModel : NotifyObject { #region Commands public ICommand DebugCommand => new RelayCommand( _ => { var pickaxeItem = Database.Get().Get<PickaxeItem>("DEBUG_PICKAX...
by arvenyon
27 Oct 2024, 12:55
Forum: General Discussion
Replies: 6
Views: 8381

ItemsControl Bindings

Good day, I'm sure this is a very trivial question, but I couldn't find a similar question here on the forum and the documentation for ItemControl is a bit sparse. I'm simply trying to create a quickly put together hotbar. I opted for an ItemsControl with a horizontally oriented stackpanel as ItemsP...
by arvenyon
12 Sep 2024, 13:26
Forum: General Discussion
Replies: 1
Views: 3879

Binding failed when re-routing Content Property of UserControl

Hey folks, I am trying to re-route the content of a usercontrol to a custom dependency property and bind it to my own contentpresenter. As far as I am aware I'm doing it the intended way, as stated here in the binding documentation: https://www.noesisengine.com/docs/Gui.Core.DataBindingTutorial.html...