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. link a custom control to a dictionaryResources

link a custom control to a dictionaryResources

Scheduled Pinned Locked Moved WPF
wpfhelpquestioncsharp
2 Posts 2 Posters 0 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.
  • R Offline
    R Offline
    Rami Shareef
    wrote on last edited by
    #1

    Hello All, I'm kinda new in this field and want your help. The problem is, that I want to create a custom treeview and I want that treeview to take it's template ,styles and setters from a dictionary, and do that in a "WPF CustomControl Library" (project type) how can I do That ?:confused: Thanks in advance

    B 1 Reply Last reply
    0
    • R Rami Shareef

      Hello All, I'm kinda new in this field and want your help. The problem is, that I want to create a custom treeview and I want that treeview to take it's template ,styles and setters from a dictionary, and do that in a "WPF CustomControl Library" (project type) how can I do That ?:confused: Thanks in advance

      B Offline
      B Offline
      BlitzPackage
      wrote on last edited by
      #2

      Do you have Blend? When you create a template Blend asks you where you want to define it. You can then choose to define it in a resource dictionary. If not using Blend, I think you just define the template or style in the resource dictionary, then reference it in the XAML.

      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