From 2b8d9aaf160e7d794398277769d4f04059172c7c Mon Sep 17 00:00:00 2001 From: KrithikaGanesan Date: Mon, 6 Oct 2025 19:32:09 +0530 Subject: [PATCH 1/3] 985360: Check and update the invalidate sample repositories for desktop tools controls --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a486de0..ba9098c 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ # winforms-listview-custom-drawing-example -This example explains about custom drawing for the winforms listview item. This example shows custom drawing of multiple text lines with the images for the listview items. +This example provides a comprehensive explanation of how to implement custom drawing for items in a Windows Forms ListView control. In many applications, the default rendering of ListView items may not be sufficient, especially when there is a need to display rich content such as multiple lines of text, icons, or images within each item. This example demonstrates how developers can override the default drawing behavior to create visually appealing and information-rich ListView items. Specifically, it shows how to draw multiple lines of text for each item, allowing for better organization and readability of data. Additionally, it includes the integration of images alongside the text, which can be useful for scenarios like contact lists, product catalogs, or file explorers where visual cues enhance user experience. By handling the DrawItem event, developers can gain full control over the appearance of each element in the ListView. This approach enables a more customized and professional UI design in WinForms applications. From 8b15aa2394607d51ffa24a8366aae69b4aa50326 Mon Sep 17 00:00:00 2001 From: KrithikaGanesan Date: Thu, 9 Oct 2025 17:23:03 +0530 Subject: [PATCH 2/3] Updated ReadMe file of this repository --- README.md | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ba9098c..dea6380 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,24 @@ # winforms-listview-custom-drawing-example -This example provides a comprehensive explanation of how to implement custom drawing for items in a Windows Forms ListView control. In many applications, the default rendering of ListView items may not be sufficient, especially when there is a need to display rich content such as multiple lines of text, icons, or images within each item. This example demonstrates how developers can override the default drawing behavior to create visually appealing and information-rich ListView items. Specifically, it shows how to draw multiple lines of text for each item, allowing for better organization and readability of data. Additionally, it includes the integration of images alongside the text, which can be useful for scenarios like contact lists, product catalogs, or file explorers where visual cues enhance user experience. By handling the DrawItem event, developers can gain full control over the appearance of each element in the ListView. This approach enables a more customized and professional UI design in WinForms applications. +This repository demonstrates how to implement custom drawing for items in a Windows Forms ListView control. +## Overview +In many applications, the default rendering of ListView items may not be sufficient—especially when displaying rich content like: +* Multiple lines of text +* Icons or images +* Custom layouts for better readability +This example shows how to override the default drawing behavior to create visually appealing and information-rich ListView items. +## Features +* Custom drawing of multiple lines of text per ListView item +* Integration of images/icons alongside text +* Enhanced data organization and readability +* Full control over item appearance using the DrawItem event +## Use Cases +This approach is ideal for applications such as: +* Contact lists +* Product catalogs +* File explorers +Visual cues like images and structured text improve the user experience and make the UI more professional. +## How It Works +By handling the DrawItem event, developers can: +* Customize the layout and style of each ListView item +* Combine text and images dynamically +* Enables more customized and professional UI design in WinForms applications From 1105a48f1cd2dde71e85374fa796550041edc22c Mon Sep 17 00:00:00 2001 From: Manivannan-E <92844213+Manivannan-E@users.noreply.github.com> Date: Mon, 13 Oct 2025 11:13:56 +0530 Subject: [PATCH 3/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index dea6380..d9c2725 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# winforms-listview-custom-drawing-example +# WinForms ListView Custom Drawing Example This repository demonstrates how to implement custom drawing for items in a Windows Forms ListView control. ## Overview In many applications, the default rendering of ListView items may not be sufficient—especially when displaying rich content like: