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
110
How do I hide the icon in the ultraListView control
posted

Hi,

I am trying to use the ultraListView just like a VB6 listBox so I don't want the icon.

Here is what I have tried: 

ListView1.View = Infragistics.Win.UltraWinListView.UltraListViewStyle.List

ListView1.ViewSettingsList.MultiColumn = False

ListView1.ViewSettingsDetails.ImageSize = Size.Empty

 

How do I do this?

 

Thanks

 

Randy

 

 

  • 110
    Verified Answer
    posted

    I got my answer.  I put the following code in form load and it works:

    'These two property settings make it act like a list box

    ListView1.View = Infragistics.Win.UltraWinListView.UltraListViewStyle.List

    ListView1.ViewSettingsList.ImageSize = Size.Empty 'This gets rid of the icon