I have AnswerContainer class which is inherited from ContentControl.
The AnswerContainer has a public dependency property called Answer.
public class AnswerContainer : ContentControl
{
public static DependencyProperty AnswerProperty;
public Answer Answer
{
...
Answer property is of type Answer and has a public dependen...
Hello,
I am failing in achieving a very simple functionality from a WPF ComboBox.
My ComboBox needs to list a collection of values. This works fine. The value id is also saved succesfully in the database. The problem is that when i want to open the window in edit mode, the combo stays empty. Here is the code :
<ComboBox ...
Hello,
I am using an ObservableCollection to wrap some of my generated entity framework objects.
When the user wants to edit some values , i am opening a popup windows that contains fields, and when the user changes and press save - the changes are saved to the database, and the binded controls are changes as it is an observablecollect...
Hello,
I am using a base class to my Popup windows on a WPF application. Everything looks and works great beside one thing : I cant map an event handler that is on the base class to the xaml.
Ofcourse i can easily have the event on the implemented class, and use the method to call the base class, but i just wanted to know if there a wa...
Hello!
I have a Shell class with one region. I created a module which shows,for example, a list of offices. When I choose one of offices I want to show another module where I want to transfer information about chosen office.
Questions:
what is better: to create another module or maybe to create just another view in existing?
(if I sti...
I'm having a tough time solving this simple issue :
I am using a treeview with HierarichalDataTemplate to show an hierarchy of two entities : Organization and Unit. The Organization has a many to many relation with itself as it could have sub organizations. And each Organization has one to many relation with Unit, as an organization co...
I am wondering if anyone can help me with something here:
I am trying to create a "pipeline" or "queue" of commands [similar to CompositeCommand in Prism] except I want it to be sequential even if the command being executed is Asynchronous in nature.
Basically, I want to string together bunch of Async calls [not at compile time but at r...