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:

http://www.sapien.com/blog/2012/04/04/spotlight-on-the-listview-control-part-1/
http://www.sapien.com/blog/2012/04/05/spotlight-on-the-listview-control-part-2/
http://www.sapien.com/blog/2012/04/11/spotlight-on-the-listview-control-part-3/

You may also like...

1 Response

  1. @walle75 says:

    [Blog] ListView – Select All http://t.co/5bUighaMWB #PowerShell #PowerShellStudio #Tips&Tricks

Leave a Reply

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