<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by ComponentOwl on Medium]]></title>
        <description><![CDATA[Stories by ComponentOwl on Medium]]></description>
        <link>https://medium.com/@componentowl?source=rss-a561f4a7e8a0------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*8KimK-Z4PXR0imb3yGVhsg.jpeg</url>
            <title>Stories by ComponentOwl on Medium</title>
            <link>https://medium.com/@componentowl?source=rss-a561f4a7e8a0------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 25 Nov 2026 01:05:56 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@componentowl/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Issue: BetterSplitButton throws an exception in the OnKeyUp event handler when pressing the space…]]></title>
            <link>https://medium.com/@componentowl/issue-bettersplitbutton-throws-an-exception-in-the-onkeyup-event-handler-when-pressing-the-space-7299c77b2bf5?source=rss-a561f4a7e8a0------2</link>
            <guid isPermaLink="false">https://medium.com/p/7299c77b2bf5</guid>
            <dc:creator><![CDATA[ComponentOwl]]></dc:creator>
            <pubDate>Fri, 09 Oct 2020 19:08:48 GMT</pubDate>
            <atom:updated>2020-10-09T20:38:45.573Z</atom:updated>
            <content:encoded><![CDATA[<h3>Issue: BetterSplitButton throws an exception in the OnKeyUp event handler when pressing the space button</h3><p>Hello Readers,</p><p>Recently we found an issue in BetterSplitButton. Steps to reproduce:</p><p>1. Create a BetterSplitButton.</p><p>2. Set Properties:</p><pre>AlwaysDropDown = true<br>BlockEnterandSpaceBar = true<br>ContextMenuStrip = null<br>SplitGlyphScaling = 0<br>Text = &quot;Test SplitButton&quot;</pre><p>3. Run the application.</p><p>4. Select the button.</p><p>5. Press the [Space] bar.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/442/0*wa4s4ceeAVeTZJyd" /></figure><p>After pressing a Space button or Enter button, the application crashes with exception:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/453/0*iS_MhlFOxoY5kAqx" /></figure><p>Reference:</p><pre>BetterSplitButton: Object reference not set to an instance of an object.<br> <br>System.NullReferenceException: Object reference not set to an instance of an object.<br>   at ComponentOwl.BetterSplitButton.BetterSplitButton.OnKeyUp(KeyEventArgs kea)<br>   at System.Windows.Forms.Control.ProcessKeyEventArgs(Message&amp; m)<br>   at System.Windows.Forms.Control.ProcessKeyMessage(Message&amp; m)<br>   at System.Windows.Forms.Control.WmKeyChar(Message&amp; m)<br>   at System.Windows.Forms.Control.WndProc(Message&amp; m)<br>   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&amp; m)<br>   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp; m)<br>   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)</pre><p>This is a bug in BetterSplitButton. As a workaround, you can set an empty ContextMenuStrip (but not null):</p><pre>betterSplitButton1.AlwaysDropDown = true;<br>betterSplitButton1.BlockEnterAndSpaceBar = true;<br>betterSplitButton1.ContextMenuStrip = new ContextMenuStrip();<br>betterSplitButton1.SplitGlyphScaling = 0.</pre><p>For more information about BetterListView and to purchase a license <a href="http://www.componentowl.com/pricing-licensing/better-listview.html">http://www.componentowl.com/pricing-licensing/better-listview.html</a></p><p>Happy coding!</p><p>The ComponentOwlTeam</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7299c77b2bf5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Issue: BetterListView fails with exception while loading 2k+ items with images]]></title>
            <link>https://medium.com/@componentowl/issue-betterlistview-fails-with-exception-while-loading-2k-items-with-images-4b005808f2c?source=rss-a561f4a7e8a0------2</link>
            <guid isPermaLink="false">https://medium.com/p/4b005808f2c</guid>
            <dc:creator><![CDATA[ComponentOwl]]></dc:creator>
            <pubDate>Fri, 11 Sep 2020 13:03:54 GMT</pubDate>
            <atom:updated>2020-09-28T19:00:10.029Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello Readers,</p><p>This blog post covers a case when using the BetterListView for loading a large amount of records that contain images.</p><p>BetterListView is well-optimized for displaying a large amount of records but in some cases, you might encounter an issue. When you set an image for the sub-item from the resources or just an Image object, for example,</p><p>subItem.Image = Resource1.ok;</p><p>BetterListView throws an unhandled exception with the error message:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/416/1*NtRT-BUu7kFuGmOm88NSMA.png" /></figure><p>The issue is reproducible when you have more than 2000 items in the list view.</p><p>To avoid that issue, just set the Image property with a new instance of Bitmap or Image class:</p><p>subItem.Image = new Bitmap(Resource1.ok);</p><p>Another way of setting images to BetterListView elements is the ImageList property. However, it is quite slower. It might be critical in some cases like column resizing.</p><p>When working with many items, we recommend using Image property.</p><p>Also, you can look at our <a href="http://www.componentowl.com/documentation/better-listview/data/chapter-performance.html">Performance</a> blog post where you can find a lot of recommendations on how to use BetterListView for better performance.</p><p>For more information about BetterListView and to purchase a license <a href="http://www.componentowl.com/pricing-licensing/better-listview.html">http://www.componentowl.com/pricing-licensing/better-listview.html</a></p><p>Happy coding!</p><p>The ComponentOwl Team</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4b005808f2c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Issue: selecting multiple empty groups fails with an exception]]></title>
            <link>https://medium.com/@componentowl/issue-selecting-multiple-empty-groups-fails-with-an-exception-6eb842c9a49e?source=rss-a561f4a7e8a0------2</link>
            <guid isPermaLink="false">https://medium.com/p/6eb842c9a49e</guid>
            <dc:creator><![CDATA[ComponentOwl]]></dc:creator>
            <pubDate>Fri, 28 Aug 2020 20:27:19 GMT</pubDate>
            <atom:updated>2020-09-28T19:01:00.885Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello Readers,</p><p>This blog post covers a case when using the BetterListView <a href="http://www.componentowl.com/documentation/better-listview/data/chapter-groups.html">Groups</a> feature.</p><p>In some cases, you need to select several groups, where one of them is empty, using the Shift key:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/515/0*BZJu7t8S4UNgw_3R" /></figure><p>BetterListView throws an unhandled exception with the error message:</p><p><em>System.ArgumentOutOfRangeException</em></p><p><em>Message=Index was out of range. Must be non-negative and less than the size of the collection.</em></p><p>The cause of the error is that BetterListView selects only items and sub-items. Groups are not selectable by design. According to the documentation, only items contribute to selections in ListView. However, groups are interactive and support item selections. When a group is collapsed (left image), it behaves like an item. Such a group can be selected by keyboard, by clicking on it or even with mouse drag selection. When a group is expanded (right image), it does not appear as selected, but in both cases, the group “selection” means that all items within that group are selected.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/343/0*40wUHl2CzbDS-Vo0" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/343/0*B3ihxNAmI4GjgKZ1" /></figure><p>When a group is empty and you are trying to select multiple empty groups, it causes such a failure.</p><p>To avoid the error you should do the next steps:</p><p>1) create your custom BetterListView control that inherits from BetterListView class;</p><p>2) override the OnMouseUp() event handler and handle this error.</p><p>The sample is below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/529/1*Oswk89mSnrOsdO4XM2SUZg.png" /></figure><p>For more information about BetterListView and to purchase a license <a href="http://www.componentowl.com/pricing-licensing/better-listview.html">http://www.componentowl.com/pricing-licensing/better-listview.html</a></p><p>Happy coding!</p><p>The ComponentOwl Team</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6eb842c9a49e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hiding column headers issue]]></title>
            <link>https://medium.com/@componentowl/hiding-column-headers-issue-7f2b1a0a6e1c?source=rss-a561f4a7e8a0------2</link>
            <guid isPermaLink="false">https://medium.com/p/7f2b1a0a6e1c</guid>
            <dc:creator><![CDATA[ComponentOwl]]></dc:creator>
            <pubDate>Tue, 18 Aug 2020 20:13:06 GMT</pubDate>
            <atom:updated>2020-09-28T19:01:27.644Z</atom:updated>
            <content:encoded><![CDATA[<p>Sometimes developers need to put some data into a non-visible column or row that should not be visible for end-users. Also, column headers should be hidden.</p><p><strong>Expected result:</strong></p><p>Column headers should be hidden even if the Visible property of the column is set to false:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/811/0*D84vpo7_pSj4ViWc" /></figure><p><strong>Steps to reproduce:</strong></p><p>1. Create several columns with Style = BetterListViewColumnHeaderStyle.None:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1019/0*HvJCp_6pnpTew6Mr" /></figure><p>2. Set Visible property to false:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1015/0*d2gTUqMCvgueuxq3" /></figure><p><strong>Actual result:</strong></p><p>Column headers remain visible. The captions are gone but the gridlines are still visible in the header:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/808/0*mOeOMVb1pMj76sob" /></figure><p><strong>Solution on how to avoid that issue:</strong></p><p>Each BetterListViewItem has a Tag property. You can just create some class that contains all the needed data and set Tag with an instance of that class.</p><p>For example,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1015/0*wyWQIwn2uNfBTK7N" /></figure><p>So, there is no need to have non-visible columns for that purpose, just use a Tag property.</p><p>For more information about BetterListView and to purchase a license <a href="http://www.componentowl.com/pricing-licensing/better-listview.html">http://www.componentowl.com/pricing-licensing/better-listview.html</a></p><p>Happy coding,</p><p>The ComponentOwl Team</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7f2b1a0a6e1c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[BetterListViewExpress installation manual]]></title>
            <link>https://medium.com/@componentowl/betterlistviewexpress-installation-manual-6244391adfc?source=rss-a561f4a7e8a0------2</link>
            <guid isPermaLink="false">https://medium.com/p/6244391adfc</guid>
            <category><![CDATA[componentowl]]></category>
            <category><![CDATA[net-listview-control]]></category>
            <category><![CDATA[betterlistviewexpress]]></category>
            <dc:creator><![CDATA[ComponentOwl]]></dc:creator>
            <pubDate>Thu, 30 Jul 2020 20:49:47 GMT</pubDate>
            <atom:updated>2020-09-28T19:02:58.260Z</atom:updated>
            <content:encoded><![CDATA[<p>BetterListViewExpress is designed as a replacement for the regular .NET ListView control. It looks better, has more features, less limitations, no known bugs, and you can start using it immediately. <strong>And it’s 100% free!</strong></p><p>The Express edition of Better ListView has <a href="http://www.componentowl.com/better-listview-express/comparison-with-full-version.html">less features</a><strong> </strong>than the full version<strong>. </strong>Consider <a href="http://www.componentowl.com/download/better-listview.html">downloading the full version</a> to try lots of additional extremely useful extra features and improvements.</p><p>Here is a guide for a quick and easy <strong>BetterListViewExpress</strong> installation:</p><p>1. <a href="http://www.componentowl.com/better-listview-express.html">Download for free here</a>.</p><p>2. After installation, you will see two icons on your desktop:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/77/0*WhDL0G0RF2QuUjfJ" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/76/0*id3g_vRbxlUjEwQd" /></figure><p>3. When the installation process has been completed, you are prompted to open Better ListView Express Samples Explorer:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/508/0*-Visa_AvTQYNOeb1" /></figure><p>4. You will see the Samples Explorer for the full BetterListView version with trial watermark. This is the default behavior on the first launch after installation and can cause some confusion.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/974/0*3tWAeuYe0-lbM2uf" /></figure><p>5. Navigate to C:\Users\{User}\Documents\Component Owl\<strong>Better ListView Express Samples\C#\bin\BetterListViewExpress.Samples.exe </strong>to see the samples related to the express version:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/725/0*uK8GwTuDrdx4DzdG" /></figure><p>6. All features related to the express version are enabled. If you open any of them, you can see a window without a watermark:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/862/0*p9LnDV86dRIJMCfT" /></figure><p>7. Use the path “C:\Users\{User}\Documents\Component Owl\Better ListView Express Samples\C#\bin\BetterListViewExpress.Samples.exe” to explore sample projects for express version, or use the link on your desktop:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/76/0*b1sA9WmdJm1fWU8A" /></figure><p>For more information about BetterListViewExpress <a href="http://www.componentowl.com/better-listview-express.html">http://www.componentowl.com/better-listview-express.html</a></p><p>Happy coding!</p><p>The ComponentOwl Support Team</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6244391adfc" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>