[OLV] Setting RowHeight in TreeListView [SEC=UNCLASSIFIED]
ObjectListView - ListView on caffeine, guarana and steroids
Brought to you by:
grammarian
From: Thamm, R. <rus...@ds...> - 2016-09-14 06:19:08
|
UNCLASSIFIED Hi, I have a TreeListView with three columns containing images and the tree nodes also have images. All my images are 20x20 and I want to increase the row height. When I change the RowHeight from -1 to 24, the wrong images are displayed in the columns. The images displayed have an imageIndex that is 3 greater than the imageIndex returned by the ImageGetter delegate. I tried returning the image key instead of the index but it makes no difference. I also set StateImageList to null -> no difference. I am using VS2008 on Windows7. As a side note, I got a complier error when building the source code: TabTreeListView Ln 20. this.ListView.CellClick += (sender, args) => Debug.WriteLine("CellClicked: {0}", args); This looks like a debugging statement so I just commented it out. Cheers Russell IMPORTANT: This email remains the property of the Department of Defence and is subject to the jurisdiction of section 70 of the Crimes Act 1914. If you have received this email in error, you are requested to contact the sender and delete the email. |