We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to change the Selctioncolor from a ListView

Thread ID:





3450 Mar 20,2003 10:21 AM Mar 24,2003 02:36 PM Windows Forms 1
Tags: FAQ
Boxen Biene
Asked On March 20, 2003 10:21 AM

Hi all, how can I change the selectioncolor from the ListView-Control ? THX Greetings Boxen Biene

Ramesh Praveen [Syncfusion]
Replied On March 24, 2003 02:36 PM

Boxen, You can do this only by owner drawing the listview. You will have to derive a control from ListView, listen to the NM_CUSTOMDRAW(by overriding WndProc), etc. There is no direct support for this in .net. Regards, Praveen Ramesh


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.