[WPF] ComboBox with RichTextBox
-
Hello, in WPF I want to use a combobox powered by Richtextbox (or something allowing me to do the same). Richtextbox contains text and images on the same line. I would like when we click on the comboxbox that we can see each item with the text + images, and when we select an element of the Combobox, it appears as a selected element and appears correctly with the text and the images. Is it possible (I guess yes) in this case, how to do it using the MVVM pattern? THANKS
-
Hello, in WPF I want to use a combobox powered by Richtextbox (or something allowing me to do the same). Richtextbox contains text and images on the same line. I would like when we click on the comboxbox that we can see each item with the text + images, and when we select an element of the Combobox, it appears as a selected element and appears correctly with the text and the images. Is it possible (I guess yes) in this case, how to do it using the MVVM pattern? THANKS
I have a flat text file of which here is an example line: sample 1 : {Image1} blah {image2} blah. sample 2 : blah {Image1} blah sample 3 : blah blah sample 4 : {Image1} blah (each line may be different) With Image1 and Image2 which represents the name of the image file in the Images of the project.