Thank you for reading,
I have two classes with two propertys. I would like to bind them. Is this possible or ist Databinding just between an Object an an GUI Element.
Cause everytime i bind the is an exeption that it cant be bind to this obejct cause there will be an exeption:
“An die Eigenschaft SelectedVariable für das Zielsteuerelement kann nicht gebunden werden.
Parametername: PropertyName”*
Hope you can help,
Thomas
*something like: The Property of the selectedVariable cant be binded on the targetelement. Parametername: PropertyName.
Assuming you’re using the
Bindingclass from theSystem.Windows.Datanamespace, then you cannot just bind two objects together.The source of the Binding can be a property on a POCO, but the Target needs to be a DependencyProperty on a DependencyObject
so in essence, yes – its a GUI technology.