item height in list-view – Owl's Blog on .NET development http://www.componentowl.com/blog Component Owl codes Better ListView control all night so you don't have to. Tue, 04 Sep 2018 13:10:05 +0000 en-US hourly 1 https://wordpress.org/?v=4.9.8 Custom Item Height in Details View of Better ListView http://www.componentowl.com/blog/custom-item-height-in-details-view-of-better-listview/ http://www.componentowl.com/blog/custom-item-height-in-details-view-of-better-listview/#respond Wed, 21 Mar 2012 15:10:52 +0000 http://www.componentowl.com/blog/?p=760 Better ListView 2.7.0.0 now supports items of arbitrary height in Details view:

Items with custom height

Items with custom height

Items with variable heights were possible in recent versions of Better ListView as well, but this adjustment was limited to heights which are multiples of text line height.

We have introduced a BetterListViewItem.CustomHeight property, which is 0 by default.

Every item has some minimum size (defined by the font and image) but it can get arbitrarily larger. The following formula explains how item height is measured in Better ListView:

height = max(minimum height, image height, text height, custom height)

Setting minimum height for all items is possible through layout properties and the latter is defined by the item itself.

]]>
http://www.componentowl.com/blog/custom-item-height-in-details-view-of-better-listview/feed/ 0