Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
80
UltraListViewItem: how to disable the image in the main column?
posted

(Originaly posted in DataVisualization group)

Currently I was using an image icon in each line of UltraListViewItem and the image was set this way:

itm.Appearance.Image = Properties.Resources.meter16;

I can't figure out how to totally remove the image, without just using a SubItems column in place and making the main column invisible. What am I missing, in other word, what parameter should I be looking for.

I tried most of the parameter and I still see an un-initialized image displayed on the row in main column.

Parents
No Data
Reply
  • 69832
    Offline posted

    I am assuming you are only interested in the 'Details' view, in which case you can set the UltraListView.ViewSettingsDetails.ImageSize property to Size.Empty. Note that the image cannot be hidden for the Icons, Thumbnails, or Tiles views.

Children