Eventually the Category will be styled like a colored block, and the items will be hyperlinks. They're two entirely different classes. This isn't a problem with a treeview and I've done it before. Just can't figure out why I't not working here.
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
First of all, I'm not searching for tab virtualization.
1) The application is according to the mvvm architecture that I wish to maintain.
2) The application have 2 tabs "Tab 1" and "Tab 2" (tabcontrol) that we used tab caching followed by the solution of ikriv: WPF TabControl: Turning Off Tab Virtualization
3) Within "tab 1" stays general info.
4) Within "tab 2" stays left side the navigation and right side the content like the picture here : Sample picture
Clicking on"Inbox" and "Outbox" shows usercontrols on the right side.
On both Usercontrols stays an label with an textbox where I applied databinding for the saved state
The situation now: When I switch from "Tab2" Inbox item where i filled in the textbox "100" as example to tab 1. It works like a charm, when switching back to the inbox my value "100" is saved with thanks to the solution of ikriv.
The problem: When I switch from "Tab2" Inbox to another item within Tab2 like "Outbox" and switching back the data is lost. The value of "100" is gone. It will be resetted to "0"
The Inbox / Outbox/ .. items like in picture are not tabs but the NavBarControl from DevExpress.
The problem is when switching by the items of the control of devexpress.
If you look at the screenshot, the output is almost correct. The 1st two columns are properties of my **LiveCameraResult** object that are added to my observable collect. The next four columns (**FaceId**, **Age**, **Gender**, **Emotion**) also come from a property of the **LiveCameraResult** object but the property is an array (**Faces**) and I want ouput of ALL the Faces in this object to display. So far the only way I have been able to get output to display at all for those four columns is to only show the 1st entity in the array by indexing to ****. How can I fix my output to show multiple faces data. Here's what my **LiveCameraResult** Class looks like:
To summarize, This log updates every three seconds and give real time data. The TimeStamp, and Camera output is right but the rest of the columns come from properties that are arrays inside an object that hold data for multiple faces. How can I display data so that if at say 10:30 from camera 1 it picks up 4 faces I can see their face IDs, gender, age and identities.
Take a look at Josh Smiths treeview articles, I use the treeview and treelistview extensively and use Josh's structure. Gerry is right that you should be putting the data into an object (livecameraresult) but I would then use the TreeNode to bind with the treeview.
Never underestimate the power of human stupidity
Is there some magic that will allow me to control the visibility of a GroupBox . I have a visibility converter that works perfectly on a button but a GroupBox ignores it completely.
Combobox with 2 options, selected item drives and OPC property in the VM that changes a boolean OPC property that is bound to the GroupBox visibility. The event path works works, values change as expected, button visibility changes but the GroupBox stubbornly stays visible.