Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. WPF
  4. [WPF] ComboBox with RichTextBox

[WPF] ComboBox with RichTextBox

Scheduled Pinned Locked Moved WPF
wpfcsharpregexarchitecturetutorial
2 Posts 1 Posters 7 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Member 8467403
    wrote on last edited by
    #1

    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

    M 1 Reply Last reply
    0
    • M Member 8467403

      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

      M Offline
      M Offline
      Member 8467403
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups