ListView – Select All

I got a question about select all on a ListView in the comments on the original blog post about ListView and here I will show how to do it.

Select All and Deselect All (Clear)

I have created a ListView with seven items with Checkboxes set to True and three buttons.
My blog post about creating ListView with checkboxes can be found here.

The code for Select All:

And the code for Clear:


Sapien have Three nice posts about the ListView Control:

You may also like...

1 Response

  1. @walle75 says:

    [Blog] ListView – Select All #PowerShell #PowerShellStudio #Tips&Tricks

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.