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