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. Control similar to contacts viewer on iPhone for WPF?

Control similar to contacts viewer on iPhone for WPF?

Scheduled Pinned Locked Moved WPF
csharpcssioswpfcom
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.
  • W Offline
    W Offline
    Wes Jones
    wrote on last edited by
    #1

    Hey all, I'm new to WPF/Silverlight, which I've noticed is of the sweet goodness. In a project, I'd like to add a listbox/grid type control that's similar to the Contacts app on the iPhone, as seen in this screenshot[]. ie: it has an A-Z type thing on the side , which when clicked, takes you to the group of items starting w/ that letter. The goal is to display a potentially "large" # of items in it but still make it easy to find the one you're looking for. Maybe at the top, it'd have a textbox for autocompletion while typing, and/or a search button, similar to what you get in Blend for searching properties in the Property editor window. Does anyone know what I mean? I'd be interested in any free or paid 3rd party control which has this or parts of this,so if you know of any, let me know. If I should roll my own, could you describe the basic layout items? Would it just be a datagrid/dataview type control using a grouping feature, & scrollviewer & a few snippets to move it to items based on clicks, etc? Any help is appreciated!

    S 1 Reply Last reply
    0
    • W Wes Jones

      Hey all, I'm new to WPF/Silverlight, which I've noticed is of the sweet goodness. In a project, I'd like to add a listbox/grid type control that's similar to the Contacts app on the iPhone, as seen in this screenshot[]. ie: it has an A-Z type thing on the side , which when clicked, takes you to the group of items starting w/ that letter. The goal is to display a potentially "large" # of items in it but still make it easy to find the one you're looking for. Maybe at the top, it'd have a textbox for autocompletion while typing, and/or a search button, similar to what you get in Blend for searching properties in the Property editor window. Does anyone know what I mean? I'd be interested in any free or paid 3rd party control which has this or parts of this,so if you know of any, let me know. If I should roll my own, could you describe the basic layout items? Would it just be a datagrid/dataview type control using a grouping feature, & scrollviewer & a few snippets to move it to items based on clicks, etc? Any help is appreciated!

      S Offline
      S Offline
      SledgeHammer01
      wrote on last edited by
      #2

      Hmm... two ways I can think of off the top of my head: 1) ListView in the GridView view mode with groups enabled. Then you'd style the items and style the group headers to look like your screen shot. 2) TreeView with the collapse / expand functionality disabled... first level would be A - Z, second level would be the items. Style the first level one way and the 2nd level the other way. Should be easy to disable the collapsing / expanding. In either case, the A - Z overlay could be done a ton of ways too... vertical stackpanel with TextBlocks (or hyperlinks)... single selection listbox, etc. No real personal preference between #1 and #2... they both sound like about the same amount of work. Or you could just use a single listbox and manage inserting and deleting the header items.

      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