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. Mobile Development
  3. Mobile
  4. list view control proplem

list view control proplem

Scheduled Pinned Locked Moved Mobile
helpdatabasequestion
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.
  • M Offline
    M Offline
    monafr81
    wrote on last edited by
    #1

    hi every body i have a list view control in windows mobile application which read from database and it has some problems : 1- the list view has 5 columns , i made the alignText property to all of the columns to center but i have one problem the first column does not set to center i try to set it from the property window and from code to be center but it always be left , and i don't know why ? can you help me in that ?? and other problem is i want to make the header text bold , not all the list view , how could i do that , i didn't find any property to do that in windows mobile by the way i use vb in my application Thanks a lot Mona

    LA ELAH ELA ALLAH MOHAMED RASOL ALLAH

    D 1 Reply Last reply
    0
    • M monafr81

      hi every body i have a list view control in windows mobile application which read from database and it has some problems : 1- the list view has 5 columns , i made the alignText property to all of the columns to center but i have one problem the first column does not set to center i try to set it from the property window and from code to be center but it always be left , and i don't know why ? can you help me in that ?? and other problem is i want to make the header text bold , not all the list view , how could i do that , i didn't find any property to do that in windows mobile by the way i use vb in my application Thanks a lot Mona

      LA ELAH ELA ALLAH MOHAMED RASOL ALLAH

      D Offline
      D Offline
      DaveyM69
      wrote on last edited by
      #2

      The left column always has it's text left aligned - it's the same in winforms. I believe you would need to make your own ListView (inheriting from the built in one) and override the OnPaint method to alter the header font properties. You could possibly fix your first problem using this method too.

      Dave

      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