System.Windows.Forms.ListView.GetDetailsItemHeight C# (CSharp) Method

GetDetailsItemHeight() private method

private GetDetailsItemHeight ( ) : int
return int
		int GetDetailsItemHeight ()
		{
			int item_height;
			int checkbox_height = CheckBoxes ? CheckBoxSize.Height : 0;
			int small_image_height = SmallImageList == null ? 0 : SmallImageList.ImageSize.Height;
			item_height = Math.Max (checkbox_height, text_size.Height);
			item_height = Math.Max (item_height, small_image_height);
			return item_height;
		}
ListView