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. Tree view

Tree view

Scheduled Pinned Locked Moved WPF
questiondata-structureshelp
3 Posts 2 Posters 11 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.
  • I Offline
    I Offline
    IWannaTalk
    wrote on last edited by
    #1

    How can i clear out arrows in tree view in expanded elements? Because shows arrows and text, but i wanna show only text.... Help, plz... :)

    ISQ 469907496

    L 1 Reply Last reply
    0
    • I IWannaTalk

      How can i clear out arrows in tree view in expanded elements? Because shows arrows and text, but i wanna show only text.... Help, plz... :)

      ISQ 469907496

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      You will need to edit the control templates. This very easy in Blend because Blend returns back a copy of the current control template with one click of the mouse. There are also free videos on the Expression Blend site that walk you through editing a control template. Here are two resources that will get you started. http://www.codeproject.com/KB/WPF/CustomTreeViewLayout.aspx[^] http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2791439&SiteID=1[^] FYI: The control template you need is nested inside the TreeViewItem and is actually a style for a ToggleButton. Question: If you clear out the arrow, how will the user know that they can click a element and see more data. That is the purpose of the little, arrow.

      Cheers, Karl My Blog | Mole's Home Page | How To Create Screen Capture Videos For Your Articles

      Just a grain of sand on the worlds beaches.

      I 1 Reply Last reply
      0
      • L Lost User

        You will need to edit the control templates. This very easy in Blend because Blend returns back a copy of the current control template with one click of the mouse. There are also free videos on the Expression Blend site that walk you through editing a control template. Here are two resources that will get you started. http://www.codeproject.com/KB/WPF/CustomTreeViewLayout.aspx[^] http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2791439&SiteID=1[^] FYI: The control template you need is nested inside the TreeViewItem and is actually a style for a ToggleButton. Question: If you clear out the arrow, how will the user know that they can click a element and see more data. That is the purpose of the little, arrow.

        Cheers, Karl My Blog | Mole's Home Page | How To Create Screen Capture Videos For Your Articles

        Just a grain of sand on the worlds beaches.

        I Offline
        I Offline
        IWannaTalk
        wrote on last edited by
        #3

        // FYI: The control template you need is nested inside the TreeViewItem and is actually a style for a ToggleButton. This is that! Thanks! I just didn't know what reply for this!

        ISQ 469907496

        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