3 writes to CountItem
Accessibility_Core_App (1)
DataControls.Designer.cs (1)
75this.bindingNavigator1.CountItem = this.bindingNavigatorCountItem;
System.Windows.Forms (1)
System\Windows\Forms\DataBinding\BindingNavigator.cs (1)
137CountItem = new ToolStripLabel();
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\BindingNavigatorDesigner.cs (1)
155navigator.CountItem = null;
18 references to CountItem
System.Windows.Forms (5)
System\Windows\Forms\DataBinding\BindingNavigator.cs (5)
158CountItem.Name = $"{ch}indingNavigatorCountItem"; 172CountItem.ToolTipText = SR.BindingNavigatorCountItemTip; 174CountItem.AutoToolTip = false; 224CountItem, 558if (CountItem is not null)
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\BindingNavigatorDesigner.cs (3)
153else if (item == navigator.CountItem) 172if (e.Component is not null && e.Component == navigator.CountItem && e.Member is not null && e.Member.Name == "Text") 174navigator.CountItemFormat = navigator.CountItem.Text ?? string.Empty;
System.Windows.Forms.Tests (10)
BindingNavigatorTests.cs (10)
59Assert.NotNull(bn.CountItem); 61Assert.Equal("bindingNavigatorCountItem", bn.CountItem.Name); 62Assert.Equal(SR.BindingNavigatorCountItemTip, bn.CountItem.ToolTipText); 64Assert.False(bn.CountItem.AutoToolTip); 119Assert.Equal(bn.CountItem, bn.Items[index++]); 139Assert.Equal($"of {rowsCount}", control.CountItem.Text); 146Assert.Equal("of 0", control.CountItem.Text); 175Assert.Equal($"of {rowsCount1}", control.CountItem.Text); 181Assert.Equal($"of {rowsCount2}", control.CountItem.Text); 191Assert.Equal($"of {rowsCount2}", control.CountItem.Text);