Vista Themeing Enabled
Vista Themeing Disabled
Windows Vista/Windows 7 Screenshot
- Added the code suggested by rojaldearintok
- Also, no longer ignores item background color. However, the item's background color will appear transparent, so that the watermark will still show through.
- Added a property called
Changes as of September 02, 2013
Changes as of October 26, 2013
UseLedgerStyle: Set to
true to show a list of items with alternating colors per row.
LedgerStyleDarkColor: Color of an even numbered index
LedgerStyleLightColor: Color of an odd numbered index
ColumnSortIndex: Index of the Column to sort by
ColumnSortOrder: Indicates how to sort the items. Ascending/Descending
ColumnSortStyle: What to sort by (
SubItemClick: Fires when a subitem is clicked.
EventArgs has property that indicates the subitem that was clicked along with its owner Item.
SubItemDoubleClick: Fires when a subitem is
EventArgs has property that indicates the subitem that was clicked along with its owner
- Changed project name to
ProjectListview, since this has become a collaboration of code.
Special Column Types: checkbox, progressbar, etc. ColumnHeader themeing. FixedColumnWidth.
This code uses the
LVBKIF_TYPE_WATERMARK flag of
LVBKIMAGE to put a watermark in the lower right corner of a
Using the Code
The zip file above includes a class that inherits the
ListView. Add the class to your solution, and build the solution. In the control's toolbox, you'll see the
cListView added. Drag one onto the form and set its
WatermarkImage property to the desired image you want. Also, set the
WatermarkAlpha property to the desired translucency. It will support any image file that VB.NET can open. It will automatically convert the image to the needed bitmap.