96 writes to Available
System.Windows.Forms.Tests (96)
System\Windows\Forms\AccessibleObjects\ToolStripDropDownItemAccessibleObjectTests.cs (6)
95
control.DropDown.Items.Add(new SubToolStripDropDownItem() {
Available
= true });
118
using SubToolStripDropDownItem item1 = new() {
Available
= true };
119
using SubToolStripDropDownItem item2 = new() {
Available
= true };
175
control.DropDownItems.Add(new SubToolStripDropDownItem() {
Available
= true });
190
using SubToolStripDropDownItem item1 = new() {
Available
= true };
191
using SubToolStripDropDownItem item2 = new() {
Available
= true };
System\Windows\Forms\ToolStripControlHostTests.cs (18)
2426
item.
Available
= !value;
2448
item.
Available
= false;
2453
item.
Available
= false;
2458
item.
Available
= true;
2464
item.
Available
= false;
2484
item.
Available
= false;
2489
item.
Available
= false;
2494
item.
Available
= true;
2500
item.
Available
= false;
4478
item.
Available
= !value;
4501
item.
Available
= false;
4506
item.
Available
= false;
4511
item.
Available
= true;
4517
item.
Available
= false;
4537
item.
Available
= false;
4542
item.
Available
= false;
4547
item.
Available
= true;
4553
item.
Available
= false;
System\Windows\Forms\ToolStripItemTests.cs (72)
1126
Available
= value
1133
item.
Available
= value;
1139
item.
Available
= !value;
1164
Available
= value
1171
item.
Available
= value;
1177
item.
Available
= !value;
1191
item.
Available
= value;
1197
item.
Available
= value;
1203
item.
Available
= !value;
1221
item.
Available
= value;
1228
item.
Available
= value;
1235
item.
Available
= !value;
1265
item.
Available
= value;
1272
item.
Available
= value;
1279
item.
Available
= !value;
1317
item.
Available
= value;
1327
item.
Available
= value;
1337
item.
Available
= !value;
1359
item.
Available
= value;
1366
item.
Available
= value;
1373
item.
Available
= !value;
1403
item.
Available
= value;
1410
item.
Available
= value;
1417
item.
Available
= !value;
1443
item.
Available
= value;
1453
item.
Available
= value;
1463
item.
Available
= !value;
1487
item.
Available
= false;
1492
item.
Available
= false;
1497
item.
Available
= true;
1503
item.
Available
= false;
1522
item.
Available
= false;
1527
item.
Available
= false;
1532
item.
Available
= true;
1538
item.
Available
= false;
9189
item.
Available
= !value;
9227
item.
Available
= !value;
9253
item.
Available
= !value;
9285
item.
Available
= !value;
9329
item.
Available
= !value;
9387
item.
Available
= !value;
9423
item.
Available
= !value;
9467
item.
Available
= !value;
9513
item.
Available
= !value;
9537
item.
Available
= false;
9542
item.
Available
= false;
9547
item.
Available
= true;
9553
item.
Available
= false;
9572
item.
Available
= false;
9577
item.
Available
= false;
9582
item.
Available
= true;
9588
item.
Available
= false;
13627
Available
= available
13693
grip.
Available
= available;
13731
Available
= available
14869
item.
Available
= !value;
14908
item.
Available
= !value;
14934
item.
Available
= !value;
14966
item.
Available
= !value;
15010
item.
Available
= !value;
15068
item.
Available
= !value;
15104
item.
Available
= !value;
15148
item.
Available
= !value;
15194
item.
Available
= !value;
15218
item.
Available
= false;
15223
item.
Available
= false;
15228
item.
Available
= true;
15234
item.
Available
= false;
15253
item.
Available
= false;
15258
item.
Available
= false;
15263
item.
Available
= true;
15269
item.
Available
= false;
162 references to Available
System.Windows.Forms (17)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.ToolStripAccessibleObject.cs (7)
65
if (owner.Items[i].
Available
&& owner.Items[i].Alignment == ToolStripItemAlignment.Left)
82
if (owner.Items[i].
Available
&& owner.Items[i].Alignment == ToolStripItemAlignment.Right)
131
if (owner.Items[i].
Available
)
172
if (item.
Available
)
315
if (item.
Available
&& child.Owner == item)
350
if (owner.Items[i].
Available
&& owner.Items[i].Alignment == ToolStripItemAlignment.Left)
364
if (owner.Items[i].
Available
&& owner.Items[i].Alignment == ToolStripItemAlignment.Right)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItemAccessibleObject.cs (2)
132
if (_owner.DropDownItems[i].
Available
&& child.Owner == _owner.DropDownItems[i])
155
if (_owner.DropDownItems[i].
Available
)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownMenu.cs (3)
665
if (Items[i].
Available
)
692
if (Items[i].
Available
)
834
if (!item.
Available
)
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (4)
1993
get => (ParentInternal is not null) && (ParentInternal.Visible) &&
Available
;
3020
if (Enabled &&
Available
)
3039
if (
Available
)
3538
if (
Available
)
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitButton.cs (1)
535
if (Enabled &&
Available
)
System.Windows.Forms.Tests (145)
System\Windows\Forms\ToolStripButtonTests.cs (6)
29
Assert.True(item.
Available
);
110
Assert.True(item.
Available
);
197
Assert.True(item.
Available
);
287
Assert.True(item.
Available
);
376
Assert.True(item.
Available
);
474
Assert.True(item.
Available
);
System\Windows\Forms\ToolStripControlHostTests.cs (25)
59
Assert.True(item.
Available
);
683
Assert.False(item.
Available
);
689
Assert.True(item.
Available
);
2414
Assert.Equal(value, item.
Available
);
2421
Assert.Equal(value, item.
Available
);
2428
Assert.Equal(!value, item.
Available
);
2449
Assert.False(item.
Available
);
2454
Assert.False(item.
Available
);
2459
Assert.True(item.
Available
);
2465
Assert.False(item.
Available
);
2485
Assert.False(item.
Available
);
2490
Assert.False(item.
Available
);
2495
Assert.True(item.
Available
);
2501
Assert.False(item.
Available
);
4465
Assert.Equal(value, item.
Available
);
4473
Assert.Equal(value, item.
Available
);
4481
Assert.Equal(!value, item.
Available
);
4502
Assert.False(item.
Available
);
4507
Assert.False(item.
Available
);
4512
Assert.True(item.
Available
);
4518
Assert.False(item.
Available
);
4538
Assert.False(item.
Available
);
4543
Assert.False(item.
Available
);
4548
Assert.True(item.
Available
);
4554
Assert.False(item.
Available
);
System\Windows\Forms\ToolStripDropDownItemTests.cs (4)
28
Assert.True(item.
Available
);
118
Assert.True(item.
Available
);
217
Assert.True(item.
Available
);
317
Assert.True(item.
Available
);
System\Windows\Forms\ToolStripItemTests.cs (108)
31
Assert.True(item.
Available
);
117
Assert.True(item.
Available
);
212
Assert.True(item.
Available
);
1128
Assert.Equal(value, item.
Available
);
1134
Assert.Equal(value, item.
Available
);
1140
Assert.Equal(!value, item.
Available
);
1166
Assert.Equal(value, item.
Available
);
1172
Assert.Equal(value, item.
Available
);
1178
Assert.Equal(!value, item.
Available
);
1192
Assert.Equal(value, item.
Available
);
1198
Assert.Equal(value, item.
Available
);
1204
Assert.Equal(!value, item.
Available
);
1222
Assert.Equal(value, item.
Available
);
1229
Assert.Equal(value, item.
Available
);
1236
Assert.Equal(!value, item.
Available
);
1266
Assert.Equal(value, item.
Available
);
1273
Assert.Equal(value, item.
Available
);
1280
Assert.Equal(!value, item.
Available
);
1318
Assert.Equal(value, item.
Available
);
1328
Assert.Equal(value, item.
Available
);
1338
Assert.Equal(!value, item.
Available
);
1360
Assert.Equal(value, item.
Available
);
1367
Assert.Equal(value, item.
Available
);
1374
Assert.Equal(!value, item.
Available
);
1404
Assert.Equal(value, item.
Available
);
1411
Assert.Equal(value, item.
Available
);
1418
Assert.Equal(!value, item.
Available
);
1444
Assert.Equal(value, item.
Available
);
1454
Assert.Equal(value, item.
Available
);
1464
Assert.Equal(!value, item.
Available
);
1488
Assert.False(item.
Available
);
1493
Assert.False(item.
Available
);
1498
Assert.True(item.
Available
);
1504
Assert.False(item.
Available
);
1523
Assert.False(item.
Available
);
1528
Assert.False(item.
Available
);
1533
Assert.True(item.
Available
);
1539
Assert.False(item.
Available
);
9179
Assert.Equal(value, item.
Available
);
9185
Assert.Equal(value, item.
Available
);
9191
Assert.Equal(!value, item.
Available
);
9217
Assert.Equal(value, item.
Available
);
9223
Assert.Equal(value, item.
Available
);
9229
Assert.Equal(!value, item.
Available
);
9243
Assert.Equal(value, item.
Available
);
9249
Assert.Equal(value, item.
Available
);
9255
Assert.Equal(!value, item.
Available
);
9273
Assert.Equal(value, item.
Available
);
9280
Assert.Equal(value, item.
Available
);
9287
Assert.Equal(!value, item.
Available
);
9317
Assert.Equal(value, item.
Available
);
9324
Assert.Equal(value, item.
Available
);
9331
Assert.Equal(!value, item.
Available
);
9369
Assert.Equal(value, item.
Available
);
9379
Assert.Equal(value, item.
Available
);
9389
Assert.Equal(!value, item.
Available
);
9411
Assert.Equal(value, item.
Available
);
9418
Assert.Equal(value, item.
Available
);
9425
Assert.Equal(!value, item.
Available
);
9455
Assert.Equal(value, item.
Available
);
9462
Assert.Equal(value, item.
Available
);
9469
Assert.Equal(!value, item.
Available
);
9495
Assert.Equal(value, item.
Available
);
9505
Assert.Equal(value, item.
Available
);
9515
Assert.Equal(!value, item.
Available
);
9538
Assert.False(item.
Available
);
9543
Assert.False(item.
Available
);
9548
Assert.True(item.
Available
);
9554
Assert.False(item.
Available
);
9573
Assert.False(item.
Available
);
9578
Assert.False(item.
Available
);
9583
Assert.True(item.
Available
);
9589
Assert.False(item.
Available
);
14859
Assert.Equal(value, item.
Available
);
14865
Assert.Equal(value, item.
Available
);
14871
Assert.Equal(!value, item.
Available
);
14898
Assert.Equal(value, item.
Available
);
14904
Assert.Equal(value, item.
Available
);
14910
Assert.Equal(!value, item.
Available
);
14924
Assert.Equal(value, item.
Available
);
14930
Assert.Equal(value, item.
Available
);
14936
Assert.Equal(!value, item.
Available
);
14954
Assert.Equal(value, item.
Available
);
14961
Assert.Equal(value, item.
Available
);
14968
Assert.Equal(!value, item.
Available
);
14998
Assert.Equal(value, item.
Available
);
15005
Assert.Equal(value, item.
Available
);
15012
Assert.Equal(!value, item.
Available
);
15050
Assert.Equal(value, item.
Available
);
15060
Assert.Equal(value, item.
Available
);
15070
Assert.Equal(!value, item.
Available
);
15092
Assert.Equal(value, item.
Available
);
15099
Assert.Equal(value, item.
Available
);
15106
Assert.Equal(!value, item.
Available
);
15136
Assert.Equal(value, item.
Available
);
15143
Assert.Equal(value, item.
Available
);
15150
Assert.Equal(!value, item.
Available
);
15176
Assert.Equal(value, item.
Available
);
15186
Assert.Equal(value, item.
Available
);
15196
Assert.Equal(!value, item.
Available
);
15219
Assert.False(item.
Available
);
15224
Assert.False(item.
Available
);
15229
Assert.True(item.
Available
);
15235
Assert.False(item.
Available
);
15254
Assert.False(item.
Available
);
15259
Assert.False(item.
Available
);
15264
Assert.True(item.
Available
);
15270
Assert.False(item.
Available
);
System\Windows\Forms\ToolStripMenuItemTests.cs (1)
29
Assert.True(item.
Available
);
System\Windows\Forms\ToolStripSeparatorTests.cs (1)
29
Assert.True(item.
Available
);