14 writes to ItemHeight
System.Windows.Forms.Tests (14)
System\Windows\Forms\TreeViewTests.cs (14)
426ItemHeight = value 452ItemHeight = itemHeight 511control.ItemHeight = itemHeight; 2746ItemHeight = value 2752control.ItemHeight = value; 2773control.ItemHeight = value; 2781control.ItemHeight = value; 2796Assert.Throws<ArgumentOutOfRangeException>("value", () => control.ItemHeight = value); 2808ItemHeight = 1 2810Assert.Throws<ArgumentOutOfRangeException>("value", () => control.ItemHeight = indent); 6026ItemHeight = 11 6106ItemHeight = 11, 7482treeView.ItemHeight = 10; 7515treeView.ItemHeight = 10;
12 references to ItemHeight
System.Windows.Forms (1)
System\Windows\Forms\Controls\TreeView\TreeView.cs (1)
1921PInvokeCore.SendMessage(this, PInvoke.TVM_SETITEMHEIGHT, (WPARAM)ItemHeight);
System.Windows.Forms.Tests (11)
System\Windows\Forms\TreeViewTests.cs (11)
81Assert.Equal(Control.DefaultFont.Height + 3, control.ItemHeight); 2729Assert.Equal(expectedHeight, treeView.ItemHeight); 2748Assert.Equal(expected, control.ItemHeight); 2753Assert.Equal(expected, control.ItemHeight); 2774Assert.True(control.ItemHeight > 0); 2782Assert.True(control.ItemHeight > 0); 6056Assert.Equal(11, control.ItemHeight); 6074Assert.Equal(11, control.ItemHeight); 6137Assert.Equal(11, control.ItemHeight); 6155Assert.Equal(11, control.ItemHeight); 7486treeView.ItemHeight.Should().Be(19);